Created
September 6, 2011 02:44
-
-
Save Ronnie76er/1196446 to your computer and use it in GitHub Desktop.
post-receive for deploying jekyll blog on webfaction
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
#!/bin/sh | |
export GIT_WORK_TREE=$HOME/gitwebsite/ronalleva.com | |
export GEM_HOME=$HOME/gems | |
export RUBYLIB=$HOME/lib | |
export PATH=$PATH:$HOME/gems/bin:$HOME/bin | |
export PYTHONPATH=$PYTHONPATH:$HOME/lib/python | |
git checkout -f | |
cd $GIT_WORK_TREE | |
jekyll --no-auto $HOME/webapps/main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment