From 783019be1a6a1f1ec6bee5fad680259d1a892838 Mon Sep 17 00:00:00 2001 From: Ash Martian Date: Fri, 24 Nov 2023 12:20:42 -0800 Subject: [PATCH] Add public read --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 7ac1062..991ed32 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -29,7 +29,7 @@ jobs: - name: Deploy to S3 shell: bash run: | - aws s3 sync dist/ ${AWS_BUCKET} --delete + aws s3 sync dist/ ${AWS_BUCKET} --delete --public-read aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --paths "/*" env: AWS_BUCKET: ${{ secrets.AWS_BUCKET }}