Skip to content

Commit

Permalink
Remove debug output option from s3 sync
Browse files Browse the repository at this point in the history
The Actions issue is solved; it was really an issue with permissions.
Whoever does `s3 sync` needs s3:DeleteObject permissions.
  • Loading branch information
douglasnaphas committed Mar 13, 2024
1 parent 80bba50 commit ffd742f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend-create-haggadah/scripts/deploy-to-bucket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ deploy-to-bucket() {
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 "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/x-icon" --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}/
aws s3 sync --content-type "text/javascript" --exclude "*" --include "*.js" --include "*.js.map" --delete out/ s3://${BUCKET}/
}

0 comments on commit ffd742f

Please sign in to comment.