This-repo-has-N-stars python-webhook version.
name | description | value |
---|---|---|
GITHUB_TOKEN | GitHub Token | Required |
WEBHOOK_SECRET | Website Secret | Required |
REPO_URL | Repo URL | Required |
PORT | Websocket Port | Optional @default: 3000 |
- create a new webhook in
settings -> Webhooks -> add webhook
- set
Payload URL
to<Your Webhook Server URL>
- set
Content type
toapplication/json
- set
Secret
to any string - set
Which events would you like to trigger this webhook?
toLet me select individual events.
then selectStars
- set environments
pipenv:
pipenv install
pipenv shell
python -m python-webhook
venv:
python -m venv env
source env/bin/activate # or windows: env\Scripts\activate
pip install -r requirements.txt
python -m python-webhook
docker:
docker build -d -t This-repo-has-N-stars-python-webhook . --no-cache
pipenv install --dev