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 }}