Skip to content

Instantly share code, notes, and snippets.

@daeyun
Last active December 11, 2015 19:18
Show Gist options
  • Save daeyun/4647500 to your computer and use it in GitHub Desktop.
Save daeyun/4647500 to your computer and use it in GitHub Desktop.
managing a jekyll site on s3/cloudfront

testing

jekyll --server 8080 --auto

publishing

jekyll build
s3cmd sync _site/ s3://www.daeyunshin.com --add-header 'Cache-Control: max-age=300' --delete-removed --reduced-redundancy --acl-public --cf-invalidate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment