From d3fdf046d53a6539e386347f038407d39f66e678 Mon Sep 17 00:00:00 2001 From: Michael Imamura Date: Thu, 14 Nov 2024 13:04:29 -0500 Subject: [PATCH] Deploy api/index.html as api/. --- ui/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/deploy.sh b/ui/deploy.sh index 823b5843..ccf9acc0 100755 --- a/ui/deploy.sh +++ b/ui/deploy.sh @@ -64,5 +64,6 @@ ${AWS} s3 cp "s3://${S3_BUCKET}/index.html" "s3://${S3_BUCKET}/results" --conten ${AWS} s3 cp "s3://${S3_BUCKET}/index.html" "s3://${S3_BUCKET}/settings" --content-type "text/html" --cache-control "no-cache" && ${AWS} s3 cp "s3://${S3_BUCKET}/index.html" "s3://${S3_BUCKET}/users" --content-type "text/html" --cache-control "no-cache" && ${AWS} s3 cp "s3://${S3_BUCKET}/index.html" "s3://${S3_BUCKET}/search" --content-type "text/html" --cache-control "no-cache" && +${AWS} s3 cp "s3://${S3_BUCKET}/api/index.html" "s3://${S3_BUCKET}/api" --content-type "text/html" --cache-control "no-cache" && ${AWS} cloudfront create-invalidation --distribution-id "${CLOUDFRONT_DIST_ID}" --paths "/" && echo -e "${OK}"