Last active
August 29, 2015 14:09
-
-
Save tamouse/038124f9ff2df27d03d5 to your computer and use it in GitHub Desktop.
jekyll deploy script
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 | |
# | |
# Simple deploy script for this blog. | |
: ${DEPLOY:=_deploy} | |
: ${BRANCH:=HEAD} | |
jekyll build -d $DEPLOY | |
cd $DEPLOY | |
git add --all | |
git commit -m "Published $(date)" | |
git push -fu origin $BRANCH | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment