- Go to project's webhook settings (eg.
https://github.com/codepotpl/codepot/settings/hooks/new
). - Set valid
Payload URL
,Content type
toapplication/x-www-form-urlencoded
. - Set trigger action to push only.
- Install node stuff:
npm install
. - Run:
WEBHOOK_LISTENER_GITHUB_WEBHOOK_PORT=<PORT> WEBHOOK_LISTENER_SLACK_HOOK_TOKEN=<TOKEN> node_modules/.bin/forever start listener.js