Skip to content

Commit

Permalink
Deploy api/index.html as api/.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoogieZork committed Nov 14, 2024
1 parent 18a926d commit d3fdf04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit d3fdf04

Please sign in to comment.