Skip to content

Instantly share code, notes, and snippets.

@funkatron
Created April 2, 2011 19:24
Show Gist options
  • Select an option

  • Save funkatron/899793 to your computer and use it in GitHub Desktop.

Select an option

Save funkatron/899793 to your computer and use it in GitHub Desktop.
a script to build and deploy my Jekyll site
#!/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