Created
March 27, 2015 22:35
-
-
Save abits/60423cf31d3a55c455b7 to your computer and use it in GitHub Desktop.
post-receive hook with build task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/sbin/sh | |
GIT_WORK_TREE=/srv/http/www.hjkl.org git checkout -f | |
cd /srv/http/www.hjkl.org && make html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment