|
|
|
|
|
by andyhmltn
4740 days ago
|
|
That's kind of what I do at the moment but I ended up just ditching the hook as it's not usually needed. I use a headless repo on the server that is then pulled into the live folder. I always found that the hook never really worked for some bizarre reason. Even something as simple as: cd /home/deployer/wordpress/wp-content/themes/my-theme && git pull origin master failed. |
|
My hook is: