I was trying the Perfect Workflow, with Git, GitHub, and SSH, and i have everything set up, except running the command git pull
from php.
When i run exec('git pull')
i get:
Could not create directory '/.ssh'. Host key verification failed. fatal: The remote end hung up unexpectedly
If i run it in the terminal (as root) it works just fine, but i need this hook to work from the Post-Receive URL (Github).
If i do exec('whoami')
i get apache
.
It's a (dv) from mediatemple with CentOS.