Skip to content

Commit 3f72dad

Browse files
authored
Add public-read permission to each file when syncing to s3 (#203)
1 parent 829d8e0 commit 3f72dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217
218218
set -e
219219
echo "[INFO] Deploying production site..."
220-
aws s3 sync "$BUILD_DIRECTORY" "s3://$AWS_S3_BUCKET/$BUCKET_DIRECTORY/"
220+
aws s3 sync "$BUILD_DIRECTORY" "s3://$AWS_S3_BUCKET/$BUCKET_DIRECTORY/" --acl public-read
221221
- notify_error:
222222
message: "Production deployment job failed for branch ${CIRCLE_BRANCH}"
223223

0 commit comments

Comments
 (0)