Skip to content

UniScratch/gitscratch-auto-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

一个用于自动化部署预览站的小工具

安装

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.pySECRET一致
Which events would you like to trigger this webhook? Just the push event.

启动

python3 app.py

About

Python小工具,接收Webhook并更新预览站

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published