mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 11:42:29 +00:00
Speeds up the upload process
This commit is contained in:
@@ -53,17 +53,9 @@ jobs:
|
||||
# run any `bun` or `bunx` command
|
||||
- run: bun install
|
||||
working-directory: contrib/sheet-pixie
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: install
|
||||
args: fd-find
|
||||
- run: make clean
|
||||
- run: bun run contrib/sheet-pixie/index.ts ${{ needs.changes.outputs.sheet-json }}
|
||||
- run: bash update.sh ${{ runner.temp }}
|
||||
- run: bash sync_sheets.sh
|
||||
- run: gcloud storage rsync --project=roll20-actual ${{ runner.temp }} "gs://roll20-cdn/$CDN_SHEETS_FOLDER" --cache-control='no-cache'
|
||||
|
||||
force-update:
|
||||
name: Process HTML/CSS for all character sheets (force-update)
|
||||
@@ -90,13 +82,6 @@ jobs:
|
||||
# run any `bun` or `bunx` command
|
||||
- run: bun install
|
||||
working-directory: contrib/sheet-pixie
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: install
|
||||
args: fd-find
|
||||
- run: make clean
|
||||
- run: make all
|
||||
- run: bash force-update.sh "$RUNNER_TEMP"
|
||||
- run: bash force-update.sh ${{ runner.temp }}
|
||||
|
||||
Reference in New Issue
Block a user