Skip to content

Commit 839932a

Browse files
committed
acl
1 parent 45b8fed commit 839932a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

script/deploy.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ fi
1515

1616
aws s3 sync --acl public-read --follow-symlinks --delete output "s3://${AWS_BUCKET}"
1717
# https://anands.github.io/blog/2018/11/18/serve-static-pages-on-s3-without-html-extension/
18-
aws s3 cp "s3://${AWS_BUCKET}/index" "s3://${AWS_BUCKET}/index" --content-type="text/html"
19-
aws s3 cp "s3://${AWS_BUCKET}/guides" "s3://${AWS_BUCKET}/guides" --content-type="text/html" --recursive
18+
aws s3 cp "s3://${AWS_BUCKET}/index" "s3://${AWS_BUCKET}/index" --content-type="text/html" --acl public-read
19+
aws s3 cp "s3://${AWS_BUCKET}/about" "s3://${AWS_BUCKET}/about" --content-type="text/html" --recursive --acl public-read
20+
aws s3 cp "s3://${AWS_BUCKET}/guides" "s3://${AWS_BUCKET}/guides" --content-type="text/html" --recursive --acl public-read

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy