py-gdw
Github webhook for deploying your software after repository change
usage
pip install gh_webhook
python -m gh_webhook --path=/path/to/repo --command="sh deploy.sh" --port=1337 --debug
or:
from gh_webhook import webhook
webhook(path="path/to/repo", command="sh deploy.sh", port=1337)