You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Go back to your [app settings page](https://github.com/settings/apps) and update the **Webhook URL** to the URL of your deployment, e.g. `http://arcane-lowlands-8408.herokuapp.com/`.
217
+
4. Go back to your [app settings page](https://github.com/settings/apps) and update the **Webhook URL** to the "${URL_of_your_deployment}/api/github/webhooks", e.g. `http://arcane-lowlands-8408.herokuapp.com/api/github/webhooks`.
218
218
219
-
1. Configure the Heroku app, replacing the `APP_ID` and `WEBHOOK_SECRET` with the values for those variables, and setting the path for the `PRIVATE_KEY`:
219
+
5. Configure the Heroku app, replacing the `APP_ID` and `WEBHOOK_SECRET` with the values for those variables, and setting the path for the `PRIVATE_KEY`:
@@ -231,12 +231,16 @@ Probot runs like [any other Node app](https://devcenter.heroku.com/articles/depl
231
231
-----> Launching... done
232
232
http://arcane-lowlands-8408.herokuapp.com deployed to Heroku
233
233
234
-
1. Your app should be up and running! To verify that your app
234
+
7. Your app should be up and running! To verify that your app
235
235
is receiving webhook data, you can tail your app's logs:
236
236
237
237
$ heroku config:set LOG_LEVEL=trace
238
238
$ heroku logs --tail
239
239
240
+
8. SSL [Optional]: If you want to secure webhook payloads, go to Heroku app settings => Configure SSL => Automatic Certificate Management (ACM) which uses Let's encrypt (or upload your own). Then go to the GitHub app settings, and update the url to use https:// instead
241
+
242
+
9. Cron [Optional]: You can configure this app to run on a schedule using the var (CRON), you can set it in the app settings in the UI, or using `heroku config:set CRON='0 * * * *'` to run every hour for ex.
243
+
240
244
## Create the GitHub App
241
245
242
246
Every deployment will need an [App](https://developer.github.com/apps/).
0 commit comments