Created
April 2, 2011 19:24
-
-
Save funkatron/899793 to your computer and use it in GitHub Desktop.
a script to build and deploy my Jekyll site
This file contains hidden or 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/bash | |
| cd /local/path/funkatron_jekyll/ | |
| # generate items.html file | |
| php _bin/build_items.php > ./items.html | |
| # generate css from less | |
| lessc css/site.less css/site.css | |
| # run jekyll and rsync to remote site | |
| jekyll && rsync -avz --stats --human-readable --progress _site/ username@domain.foo:/path/to/site/htdocs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment