php实现webhook自动部署代码

简单利用coding结合git实现webhook   1.创建webhook.php    确保服务器上能以ssh方式进行git pull操作 确保shell_exec能执行,在php.ini中 disable_functions 中去掉 shell_exec <?php $pwd = getcwd(); $command = 'cd ' . $pwd . ' && git pull'; $ou
相关文章
相关标签/搜索