Created
January 7, 2014 18:40
-
-
Save nateswart/8304301 to your computer and use it in GitHub Desktop.
Refresh a Jekyll blog and rsync it
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
tell application "Terminal" | |
activate | |
do script "cd YOUR_JEKYLL_DIR && jekyll build && rsync -avzr --delete YOUR_JEKYLL_DIR/_site/ -e ssh YOUR_USER@YOUR_SERVER:/PATH_TO_WEB_ROOT/ && exit" | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment