一个用于自动化部署预览站的小工具
pip3 install -r requirements.txt
修改config.py.example文件并删除.example后缀
修改 GitHub WebHook 配置
| item | value |
|---|---|
| Payload URL | http://ip:11460/webhook |
| Content type | application/json |
| Secret | 与config.py内SECRET一致 |
| Which events would you like to trigger this webhook? | Just the push event. |
python3 app.py