过去多啦不再A梦2017-05-02 09:24:38
https://github.com/diggzhang/node-github-webhook
Use node + github webhook + shelljs to complete a simple mini CI that responds to push. Well, it’s not actually CI.
When a push operation occurs on the specified repo, the server triggers a git pull operation after receiving the webhook.
The key code is in ./route/index.js.