Github Bot
Register Heroku
Local setting
1 | pip install gidgethub |
get your Github Token
In Unix / Mac OS:
1 | export GH_AUTH=your token |
Local test
1 | import asyncio |
deploy
create a new APP
auth
connect Github
Creat a new webhook at the repo you want to build
Set your key at Heroku
GH_AUTH
GH_SECRET
typo check repos example
Ref
https://github-bot-tutorial.readthedocs.io/en/latest/index.html