Skip to content

Commit

Permalink
Merge branch 'feature/CSC-1652-gh-action-for-processing-custom-sheets…
Browse files Browse the repository at this point in the history
…' into staging
  • Loading branch information
danielxvu committed Oct 2, 2023
2 parents 4b23463 + 1666181 commit ca76c1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/use-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

0 comments on commit ca76c1f

Please sign in to comment.