oslabs-beta / DockerLocal

DockerLocal is a GUI application that allows you to keep an up-to-date version of the docker compose file for interconnected repositories while doing development work on a single repository.

Home Page:https://dockerlocal.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhook to github to track repo updates and pull down changes automatically

vcermeno opened this issue · comments

  1. 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}