diff --git a/.github/workflows/use-sdk.yml b/.github/workflows/use-sdk.yml index 9370065e7989..79e5f01c34ac 100644 --- a/.github/workflows/use-sdk.yml +++ b/.github/workflows/use-sdk.yml @@ -53,8 +53,8 @@ jobs: # run any `bun` or `bunx` command - run: bun install working-directory: contrib/sheet-pixie - - run: DEST_DIR=${{ runner.temp }}/$CDN_SHEETS_FOLDER bun run contrib/sheet-pixie/index.ts ${{ needs.changes.outputs.sheet-json }} - - run: gcloud storage rsync --project=roll20-actual ${{ runner.temp }}/$CDN_SHEETS_FOLDER "gs://roll20-cdn/$CDN_SHEETS_FOLDER" --cache-control='no-cache' --recursive + - run: DEST_DIR=${{ runner.temp }}/${{ env.CDN_SHEETS_FOLDER }} bun run contrib/sheet-pixie/index.ts ${{ needs.changes.outputs.sheet-json }} + - 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 force-update: name: Process HTML/CSS for all character sheets (force-update) @@ -82,4 +82,4 @@ jobs: - run: bun install working-directory: contrib/sheet-pixie - run: make all - - run: gcloud storage rsync --project=roll20-actual ${{ runner.temp }}/roll20 "gs://roll20-cdn/$CDN_SHEETS_FOLDER" --delete-unmatched-destination-objects --cache-control='no-cache' --recursive + - 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