diff --git a/.github/workflows/use-sdk.yml b/.github/workflows/use-sdk.yml index f36cb1a7526..4744d2dbe53 100644 --- a/.github/workflows/use-sdk.yml +++ b/.github/workflows/use-sdk.yml @@ -12,7 +12,6 @@ jobs: runs-on: ubuntu-latest env: CDN_SHEETS_FOLDER: ${{ vars.CDN_SHEETS_FOLDER }} - DEST_DIR: ${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }} # Set job outputs to values from filter step outputs: sheet: ${{ steps.filter.outputs.sheet }} @@ -56,11 +55,19 @@ jobs: # Handles when sheets have been updated individually - run: bun run contrib/sheet-pixie/index.ts ${{ steps.filter.outputs.sheet_files }} if: 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 if: steps.filter.outputs.sheet == 'true' + env: + DEST_DIR: ${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }} # Handles when a force-update has been requested (meaning all sheets will be re-built and deployed) - run: make all if: steps.filter.outputs.sheet != 'true' && steps.filter.outputs.force-update == '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 }} --delete-unmatched-destination-objects --cache-control='no-cache' --recursive if: steps.filter.outputs.sheet != 'true' && steps.filter.outputs.force-update == 'true' + env: + DEST_DIR: ${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }}