Skip to content

Commit

Permalink
Make the js upload last, debugging Action
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasnaphas committed Mar 13, 2024
1 parent ff40179 commit 018b78b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend-create-haggadah/scripts/deploy-to-bucket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ deploy-to-bucket() {
ls -R out
aws s3 sync --content-type "text/html" --exclude "*" --include "*.html" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "text/css" --exclude "*" --include "*.css" --include "*.css.map" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "text/javascript" --exclude "*" --include "*.js" --include "*.js.map" --delete out/ s3://${BUCKET}/
# aws s3 sync --content-type "application/json" --exclude "*" --include "*.json" --delete out/ s3://${BUCKET}/
# aws s3 sync --content-type "image/x-icon" --debug --exclude "*" --include "*.ico" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "application/json" --exclude "*" --include "*.json" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "image/x-icon" --debug --exclude "*" --include "*.ico" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "image/svg+xml" --exclude "*" --include "*.svg" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "image/png" --exclude "*" --include "*.png" --delete out/ s3://${BUCKET}/
aws s3 sync --content-type "image/jpeg" --exclude "*" --include "*.jpg" --delete out/ s3://${BUCKET}/
aws s3 sync --debug --content-type "text/javascript" --exclude "*" --include "*.js" --include "*.js.map" --delete out/ s3://${BUCKET}/
}

0 comments on commit 018b78b

Please sign in to comment.