Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 18604
1
BUCKET_NAME="open-security-summit.com-cdn"
2
DISTRIBUTION_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
8
aws 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
11
aws cloudfront create-invalidation --distribution-id E22WEBPD6529KA --paths "/*"
12