Heroku only allows you to have one HTTP deploy hook. This app accepts a post to /:app and forwards the post and its params to all the urls listed for that app in the config file.
git clone https://github.com/ImpactData/deploy-hook-forker.git
cd deploy-hook-forker
heroku git:remote -a impact-data-deploy-hook-forker -r production
your-heroku-app-name:
slack: https://other.slack.com/services/hooks/heroku?token=INTENTIONALLY_LEFT_BLANK
appsignal: https://push.appsignal.com/1/markers/heroku?api_key=INTENTIONALLY_LEFT_BLANK
honeybadger: https://api.honeybadger.io/v1/deploys?deploy[environment]=production&api_key=INTENTIONALLY_LEFT_BLANK
another-heroku-app-name:
honeybadger: https://api.honeybadger.io/v1/deploys?deploy[environment]=staging&api_key=INTENTIONALLY_LEFT_BLANK
git push production origin/master:master
heroku addons:add deployhooks:http --url=https://impact-data-deploy-hook-forker.herokuapp.com
This can also be done via the Heroku apps web UI.