I can't think of a better way. Bugsnag does return a response though so you might want to use this instead:
curl --silent -d "apiKey=YOUR_API_KEY_HERE&appVersion=1.5" https://notify.bugsnag.com/deploy > /dev/null
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm looking to implement deployment notification from my Forge server to Bugsnag.
Reference document: https://bugsnag.com/docs/deploy-tracking-api
CURL example: curl -d "apiKey=YOUR_API_KEY_HERE&appVersion=1.5" https://notify.bugsnag.com/deploy
In forge, can I add that to the last line of the deployment script?
Or is there another way to do this?
I can't think of a better way. Bugsnag does return a response though so you might want to use this instead:
curl --silent -d "apiKey=YOUR_API_KEY_HERE&appVersion=1.5" https://notify.bugsnag.com/deploy > /dev/null
Please or to participate in this conversation.