From ffd742f9fa6d59fc44d5625ce22a12093ca68214 Mon Sep 17 00:00:00 2001 From: Douglas Naphas Date: Wed, 13 Mar 2024 09:39:42 -0400 Subject: [PATCH] Remove debug output option from s3 sync The Actions issue is solved; it was really an issue with permissions. Whoever does `s3 sync` needs s3:DeleteObject permissions. --- frontend-create-haggadah/scripts/deploy-to-bucket.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-create-haggadah/scripts/deploy-to-bucket.sh b/frontend-create-haggadah/scripts/deploy-to-bucket.sh index 15c10d8e..6495cff6 100644 --- a/frontend-create-haggadah/scripts/deploy-to-bucket.sh +++ b/frontend-create-haggadah/scripts/deploy-to-bucket.sh @@ -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}/ }