一个PHP小项目,每天各自将内容提交到git服务器上,有什么方法可以将提交的PHP内容同时发布到apache中供其他人测试用?apache和git在同一服务器上。
走同样的路,发现不同的人生
Add a post-receive hook, and call your deploy script in the hook (copy files, restart services, etc.)
Install an open source gitlab...it’s simple and convenient...
Git on Server - Public Access
Add a post-receive hook, and call your deploy script in the hook (copy files, restart services, etc.)
Install an open source gitlab...it’s simple and convenient...
Git on Server - Public Access