php实现webhook自动部署代码

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