A very simple github post-receive web hook handler that executes per default a pull ppon receiving. The executed action is configurable per repository.
It will also verify that the POST request originated from github.com.
Install dependencies.
pip install -r requirements.txtStart the server.
python index.py 80Start the server behind a proxy (see: http://flask.pocoo.org/docs/deploying/wsgi-standalone/#proxy-setups)
USE_PROXYFIX=true python index.py 8080Go to your repository's settings on github.com and register your public URL under Service Hooks -> WebHook URLs.