github webhooks
Project description
Installation
$ [sudo] pip install github-webhooks
Config
bash | python |
---|---|
export GITHUB_TOKEN="your_github_token" |
os.environ["GITHUB_TOKEN"]="your_github_token" |
Examples
$ cd path/to/repo
$ python -m github_webhooks.create "push" https://xxx.execute-api.us-east-1.amazonaws.com/run
$ python -m github_webhooks.names
web
$ python -m github_webhooks.urls
https://xxx.execute-api.us-east-1.amazonaws.com/run
$ python -m github_webhooks.delete "web"
~/.github-webhooks.ini
[name]
url = https://xxx.execute-api.us-east-1.amazonaws.com/run
events = push
$ python -m github_webhooks.init "name"
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.