File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 16
16
aws s3 sync --acl public-read --follow-symlinks --delete output " s3://${AWS_BUCKET} "
17
17
# https://anands.github.io/blog/2018/11/18/serve-static-pages-on-s3-without-html-extension/
18
18
aws s3 cp " s3://${AWS_BUCKET} /index" " s3://${AWS_BUCKET} /index" --content-type=" text/html" --acl public-read
19
+ # FIXME cloudfront won't respect content type
20
+ aws s3 cp " s3://${AWS_BUCKET} /index" " s3://${AWS_BUCKET} /index.html" --content-type=" text/html" --acl public-read
19
21
aws s3 cp " s3://${AWS_BUCKET} /about" " s3://${AWS_BUCKET} /about" --content-type=" text/html" --recursive --acl public-read
20
22
aws s3 cp " s3://${AWS_BUCKET} /guides" " s3://${AWS_BUCKET} /guides" --content-type=" text/html" --recursive --acl public-read
You can’t perform that action at this time.
0 commit comments