Last active
February 3, 2016 21:00
-
-
Save tigefa4u/9c3e3c03fdaaf5eae49f to your computer and use it in GitHub Desktop.
Gitolite hooks/post-receive for jekyll
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/repositories/nulldo.git | |
TMP_GIT_CLONE=$HOME/tmp/nulldo | |
PUBLIC_WWW=/var/www/html | |
git clone $GIT_REPO $TMP_GIT_CLONE | |
jekyll build -s $TMP_GIT_CLONE -d $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