Skip to content
/ webhook Public

简单易用的Git Webhook,支持windows系统,方便自动部署。

Notifications You must be signed in to change notification settings

oiuv/webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git WebHook

简单易用的webhook脚本,支持linux、windows、macOS系统,自动化部署Github、Gitee等仓库的代码。

复制代码

cd ~ && git clone [email protected]:oiuv/webhook.git && cd webhook

启动服务

node webhook.js

默认监听8008端口,做好域名解析后配置在webhook中即可生效。

代理服务(可选)

如果你要在个人电脑上测试,可以使用ngrok反向代理服务,并把ngrok提供的URL配置在webhook中。

ngrok http 8008

配置脚本

参考·sh·和·bat·目录中的webhook.shwebhook.cmd。如果是linux系统,只用在sh目录中配置和仓库同名的.sh脚本即可,如果是windows系统,需要在bat目录中配置和仓库同名的.cmd批处理文件调用.sh脚本。

About

简单易用的Git Webhook,支持windows系统,方便自动部署。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published