diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e0aed6713..d07365269 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -6,6 +6,7 @@ # The checks are skipped on the 'main' branch. The project relies on branch # protection to avoid pushes straight to 'main'. + name: Checks on: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6673d7ab4..8936dc8c7 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 }} --cache-control max-age=604800 --delete + aws s3 sync ./dist s3://${{ secrets.S3_BUCKET }} --cache-control max-age=30,must-revalidate,s-maxage=604800 --delete - name: Request Invalidation to AWS Cloudfront uses: oneyedev/aws-cloudfront-invalidation@v1