From e694c1fbbf017d341b32d5519db7cb98c4b9e119 Mon Sep 17 00:00:00 2001 From: Daniel Vu Date: Mon, 2 Oct 2023 05:06:44 -0400 Subject: [PATCH] Fixes when need for translations is fulfilled --- .github/workflows/handle-sheet-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/handle-sheet-push.yml b/.github/workflows/handle-sheet-push.yml index 3c6f2479ef50..b9e50bc9d368 100644 --- a/.github/workflows/handle-sheet-push.yml +++ b/.github/workflows/handle-sheet-push.yml @@ -58,7 +58,7 @@ jobs: env: DEST_DIR: ${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }} - run: find ${{ env.DEST_DIR }} -maxdepth 1 -type d -exec sh -c 'cp -R --verbose "$(basename "{}")/translations" "{}/"' 2>/dev/null \; - if: steps.filter.outputs.force-update == 'true' + if: steps.filter.outputs.force-update != 'true' && steps.filter.outputs.sheet == 'true' env: DEST_DIR: ${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }} - run: gcloud storage rsync --project=roll20-actual ${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }} gs://roll20-cdn/${{ env.CDN_SHEETS_FOLDER }} --cache-control='no-cache' --recursive