We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c016f commit 45b8fedCopy full SHA for 45b8fed
script/deploy.sh
@@ -14,3 +14,6 @@ fi
14
./script/build.sh
15
16
aws s3 sync --acl public-read --follow-symlinks --delete output "s3://${AWS_BUCKET}"
17
+# 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
0 commit comments