Notifying GitHub about the deployments via GitHub Deployments

Hi there,

Octopus is working very nicely for us but we would like more: to have the deployments notifications sent to GitHub via its Deployments API. I would like to achieve something like this

I think the easiest way is to create a step in the deployment process and just call the scripts - via this ScriptCS, possibly?..

I am not 100% sure how to tie all that together. Initially I thought about creating a Script Module - but for some reason, the only type I can create is Powershell script (i.e. no C# scripts).

Any help would be appreciated!

Hi @lwiechec

Thanks for getting in touch!

I think you are on the right track with Script Modules. If you can upgrade to 2019.5.0 or later (preferably 2019.6.0 LTS) we added C# script modules which should unblock you.

Any further questions please let me know!


Hi Alex, thanks for the reply. In the end I have used modified PowerShell community script.

PS: I noticed that I cannot use the script from the library when the package for the deployment is downloaded from external feed (Maven feed in my case). Is there no other way? my package is quite big and I would not like to have to upload it in two places - both to my local Maven repo and to Octopus’s internal feed…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.