Need help with github web hook in order to deploy on centos7.
I have private repo, need to deploy it to multiple server domain or sub-domains using web hook. I'm stuck, the web hook respond well (code 200) it seems that git command are not executed
shell_exec("cd /home/username/domains/[url removed, login to view]");
shell_exec("git pull origin master");
i test with command touch, it's ok the file is created the git command in a vermin works also, I think it's a issue with permission, ah also github recognized my ssh key. So need help with someone expert with git, github and linux server (cent0s 7)