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/`.
223
+
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`.
224
224
225
-
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`:
225
+
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`:
@@ -237,12 +237,16 @@ Probot runs like [any other Node app](https://devcenter.heroku.com/articles/depl
237
237
-----> Launching... done
238
238
http://arcane-lowlands-8408.herokuapp.com deployed to Heroku
239
239
240
-
1. Your app should be up and running! To verify that your app
240
+
7. Your app should be up and running! To verify that your app
241
241
is receiving webhook data, you can tail your app's logs:
242
242
243
243
$ heroku config:set LOG_LEVEL=trace
244
244
$ heroku logs --tail
245
245
246
+
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
247
+
248
+
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.
249
+
246
250
## Create the GitHub App
247
251
248
252
Every deployment will need an [App](https://developer.github.com/apps/).
0 commit comments