I want to git push to server repo, and then post-update hook will pull lastest repo to deploy folder, and restart the daemon.
but git user can not access deploy folder and can't restart the daemon.
How can I do git push deployment as heroku.
I want to git push to server repo, and then post-update hook will pull lastest repo to deploy folder, and restart the daemon.
but git user can not access deploy folder and can't restart the daemon.
How can I do git push deployment as heroku.