From 87273d962006b544457bb772b1c6034e1ef5edc0 Mon Sep 17 00:00:00 2001 From: Florian Dieminger Date: Mon, 8 May 2023 17:38:54 +0200 Subject: [PATCH] fix(sync): don't deploy to static/static --- .github/workflows/prod-build.yml | 2 +- .github/workflows/stage-build.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-build.yml b/.github/workflows/prod-build.yml index 5f5b4b182a2d..cf1ae43ce584 100644 --- a/.github/workflows/prod-build.yml +++ b/.github/workflows/prod-build.yml @@ -281,7 +281,7 @@ jobs: - name: Sync build if: ${{ ! vars.SKIP_BUILD }} run: |- - gsutil -q -m -h "Cache-Control: public, max-age=86400" cp -r client/build/static gs://${{ vars.GCP_BUCKET_NAME }}/main/static + gsutil -q -m -h "Cache-Control: public, max-age=86400" cp -r client/build/static gs://${{ vars.GCP_BUCKET_NAME }}/main/ gsutil -q -m -h "Cache-Control: public, max-age=86400" rsync -cdrj html,json,txt -y "^/static/" client/build gs://${{ vars.GCP_BUCKET_NAME }}/main - name: Authenticate with GCP diff --git a/.github/workflows/stage-build.yml b/.github/workflows/stage-build.yml index 69a0cf8449be..cc62046b858e 100644 --- a/.github/workflows/stage-build.yml +++ b/.github/workflows/stage-build.yml @@ -277,7 +277,7 @@ jobs: - name: Sync build if: ${{ ! vars.SKIP_BUILD }} run: |- - gsutil -q -m -h "Cache-Control: public, max-age=86400" cp -r client/build/static gs://${{ vars.GCP_BUCKET_NAME }}/main/static + gsutil -q -m -h "Cache-Control: public, max-age=86400" cp -r client/build/static gs://${{ vars.GCP_BUCKET_NAME }}/main/ gsutil -q -m -h "Cache-Control: public, max-age=86400" rsync -cdrj html,json,txt -y "^/static/" client/build gs://${{ vars.GCP_BUCKET_NAME }}/main - name: Authenticate with GCP