Heroku build failed notifications on your phone.
Get a High-priority push notification when a Heroku build fails, with a button to the build log, and optionally a quiet one when it succeeds.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Heroku
Add it as a webhook for api:build.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Heroku api:build webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In the Heroku Dashboard, open your app and choose More > View webhooks, then create a webhook. Or use the CLI command in the setup notes below.
- Paste your webhook URL as the URL and subscribe to the api:build event type.https://••••••••/•••••••• your personal URL, shown after install
- Save. Each app needs its own webhook.
- Subscribe the webhook to the **`api:build`** entity. In the Dashboard that's **More → View webhooks** on your app; with the Heroku CLI:
- ```
- heroku webhooks:add -i api:build -l notify -u your webhook URL -a your-app
- ```
- Only failed builds push by default. Add `?all=1` to the URL to also get a quiet push when a build succeeds:
- ```
- your webhook URL?all=1
- ```
- Heroku signs every delivery (`Heroku-Webhook-Hmac-SHA256`), but JustPush doesn't check that signature yet, so keep your endpoint URL private.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Heroku api:build webhook
This is what Heroku sends to your URL for api:build. It is a sample, trimmed to the fields recipes use.
Heroku build failed notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Heroku and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Heroku on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.