Created
April 27, 2013 22:19
-
-
Save m3nt0r/5474976 to your computer and use it in GitHub Desktop.
jekyll clone post-receive build (working)
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
GIT_REPO=$HOME/myrepo.git | |
TMP_GIT_CLONE=$HOME/tmp/myrepo | |
PUBLIC_WWW=/var/www/myrepo | |
git clone $GIT_REPO $TMP_GIT_CLONE | |
cd $TMP_GIT_CLONE | |
jekyll --no-auto $TMP_GIT_CLONE $PUBLIC_WWW | |
rm -Rf $TMP_GIT_CLONE | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment