old-techblog/bin/deploy.sh

7 lines
213 B
Bash
Executable File

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 "/*"