Answer the question
In order to leave comments, you need to log in
And from which user does the hook work on the VPS?
I wrote the following script:
https://gist.github.com/yarkovaleksei/8e467a7670d7...
Everything generates normally, displays a list of commands, everything seems to be ok.
But when you try to push it to production, the hook starts working.
In my case, npm install is executed .
$ git remote add production ssh://[email protected]:1234/home/user/bare/api.git
$ git push production master
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question