扫码关注官方订阅号
git的钩子能使得我上传github.com上的时候,能触发把最新代码更新到我自己的服务器么?
我是不是想太多了~~
认证0级讲师
可以,看图,使用webhooks & services,可在Just the push event.是设定向你的服务器发请求,然后再做相应的处理
webhooks & services
Just the push event.
可以设置github.com的webhook。
https://help.github.com/articles/creating-webhooks
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
扫描下载App
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
可以,看图,使用
webhooks & services
,可在Just the push event.
是设定向你的服务器发请求,然后再做相应的处理可以设置github.com的webhook。
https://help.github.com/articles/creating-webhooks