This is run on the remote when pushing after the all refs have been updated. It does not take parameters, but receives info through stdin in the form of " ". Because it is called after the updates, it cannot abort the process.
git-receive-pack
# on the remote repo
- post-receive-specific-folder - hook to deploy the code being pushed to production branch to a specific folder.
If you have a question, find a bug, or just want to say hi, please open an issue on GitHub.
To the extent possible under law, Islam Temirbek has waived all copyright and related or neighboring rights to this work.