From a6f223feb47425ff1c9321803db9ee062fc01409 Mon Sep 17 00:00:00 2001 From: Luca Osti Date: Fri, 28 Jan 2022 15:42:00 +0100 Subject: [PATCH] Remove resources sync step from CI --- .github/workflows/deploy-prd.yml | 4 ---- .github/workflows/deploy-stg.yml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/.github/workflows/deploy-prd.yml b/.github/workflows/deploy-prd.yml index dab8507c6b..23596d7602 100644 --- a/.github/workflows/deploy-prd.yml +++ b/.github/workflows/deploy-prd.yml @@ -54,7 +54,3 @@ jobs: - name: Sync all non-cacheable assets # Don't cache any HTML or JSON file: they should always be up-to-dates run: aws s3 sync --cache-control "public, max-age=0, must-revalidate" --include "*.html" --include="sw.js" --include="*.json" --include "*.css" --exclude="*.js" --exclude="*.gif" --exclude="*.png" --exclude="*.svg" --delete public/ s3://${{ secrets.PROD_AWS_S3_BUCKET_NAME }}/ - - # - name: Sync static resources - # # Sync the static resources in a separate pass: their URL is static but we might update the contents once in a while - # run: aws s3 sync --cache-control "public, max-age=14400" --delete public/resources/ s3://${{ secrets.PROD_AWS_S3_BUCKET_NAME }}/resources/ diff --git a/.github/workflows/deploy-stg.yml b/.github/workflows/deploy-stg.yml index 4e52996c37..c56b5234e0 100644 --- a/.github/workflows/deploy-stg.yml +++ b/.github/workflows/deploy-stg.yml @@ -58,7 +58,3 @@ jobs: - name: Sync all non-cacheable assets # Don't cache any HTML or JSON file: they should always be up-to-dates run: aws s3 sync --cache-control "public, max-age=0, must-revalidate" --include "*.html" --include="sw.js" --include="*.json" --include "*.css" --exclude="*.js" --exclude="*.gif" --exclude="*.png" --exclude="*.svg" --delete public/ s3://${{ secrets.STAG_AWS_S3_BUCKET_NAME }}/ - - - name: Sync static resources - # Sync the static resources in a separate pass: their URL is static but we might update them once in a while - run: aws s3 sync --cache-control "public, max-age=14400" --delete public/resources/ s3://${{ secrets.STAG_AWS_S3_BUCKET_NAME }}/resources/