Webhook to github to track repo updates and pull down changes automatically
vcermeno opened this issue · comments
Vivian Cermeno commented
- Use Github Webhooks API to create a repository hook (https://developer.github.com/v3/repos/hooks/)
POST /repos/:owner/:repo/hooks
config = {url: [url to to which webhooks will be delivered(will need IP address of computer), content-type: json, secret: (X-hub signature), insecure_ssl: 0 };
params = {name: web, config, events: ["pull_request"], active: true}