-
Notifications
You must be signed in to change notification settings - Fork 5
Setup with github
Joel Chu edited this page Mar 18, 2018
·
1 revision
Go to your github settings --> webhooks. Supply the configuration parameters:
Payload URL: The url where your server is running (let's use example.com) http://example.com:8081/webhook
As you can see the port number 8081
and /webhook
correspond the config file, so change it accordingly.
Content type: select application/json
Secret: generate your own secret phrase, again correspond the configuration file.
Which events would you like to trigger this webhook? Just the push event
Active: check this check box so you can see the log from github.
The cmd
field is your config is the actual method to run.