There is a “Run commands after new version is uploaded” option in Deploybot, which will execute the shell commands you input.
Add the following snippet:
curl https://intake.opbeat.com/api/v1/organizations/<organization_id>/apps/<app_id>/releases/ \ -H "Authorization: Bearer <secret_token>" \ -d rev="%REVISION%" \ -d branch="%BRANCH%" \ -d status=completed
Make sure to replace the
<secret_token> with the credentials for your Opbeat app.
Requirement: cURL must be installed on the servers.
It should look like this in the Deploybot interface:
Next time you deploy your application the release and the related git information should show up in in Opbeat.
Thanks for sharing the solution, Fred!