Skip to main content

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

readme42.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

github-webhooks-2020.12.3.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page