https://github.com/OpenSecuritySummit/oss2019
1BUCKET_NAME="open-security-summit.com-cdn" 2DISTRIBUTION_ID=E22WEBPD6529KA 3 4 5# --delete is having a nasty side effect to bring the side down when 6# aws s3 sync --acl "public-read" --sse "AES256" public/ s3://$BUCKET_NAME --delete 7 8aws s3 sync --acl "public-read" --sse "AES256" public/ s3://$BUCKET_NAME/2019/ 9#aws cloudfront create-invalidation --distribution-id $DISTRIBUTION_ID --paths /index.html /page/* /css/* /blog/* /contact/* /working-sessions/* 10 11aws cloudfront create-invalidation --distribution-id E22WEBPD6529KA --paths "/*" 12