old-techblog/bin/deploy.sh

7 lines
213 B
Bash
Raw Normal View History

2017-12-29 13:27:50 +00:00
SITE=netflux.io
DISTRIBUTION=EH0M9KWOAPOFH
jekyll build
aws s3 cp _site s3://$SITE/ --recursive --acl public-read --exclude "bin/*"
aws cloudfront create-invalidation --distribution-id $DISTRIBUTION --paths "/*"