diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cd0a52a08..6673d7ab4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -122,7 +122,7 @@ jobs: - name: Deploy to S3 Production run: | - aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --delete + aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --cache-control max-age=604800 --delete - name: Request Invalidation to AWS Cloudfront uses: oneyedev/aws-cloudfront-invalidation@v1