feat: handle different asset repors

This commit is contained in:
TrèsAbhi committed 2025-10-23 10:01:17 -05:00
1 parent e2c02f3d86
commit 15b6ff43c5
1 file changed
+18 -11
+18 -11
View File
@@ -6,25 +6,32 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
cdn_branch: asset_repo:
type: choice
required: false
description: What CDN to write to
options:
- blitzkit/assets
- blitzkit/assets-preview
- blitzkit/assets-dev
default: blitzkit/assets
archive_url:
type: string type: string
required: false required: false
default: main description: Archive URL to download instead of Steam client
description: What CDN branch to write to
zip_url: archive_root:
type: string type: string
required: false required: false
description: ZIP URL to download instead of Steam client description: Root dir of archive which houses the executable and Data dir
zip_root: default: app
type: string
required: false
description: Root dir of ZIP which houses the executable and Data dir
schedule: schedule:
- cron: "0 2 * * *" - cron: "0 2 * * *"
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.cdn_branch }} group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.asset_repo }}
cancel-in-progress: true cancel-in-progress: true
env: env:
@@ -36,7 +43,7 @@ env:
WOTB_GLOSSARY: ${{ secrets.WOTB_GLOSSARY }} WOTB_GLOSSARY: ${{ secrets.WOTB_GLOSSARY }}
WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }} WOTB_DLC_CDN: ${{ secrets.WOTB_DLC_CDN }}
PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }} PUBLIC_WARGAMING_APPLICATION_ID: ${{ secrets.PUBLIC_WARGAMING_APPLICATION_ID }}
PUBLIC_ASSET_REPO: blitzkit/assets PUBLIC_ASSET_REPO: ${{ github.event.inputs.asset_repo }}
PUBLIC_ASSET_BRANCH: main PUBLIC_ASSET_BRANCH: main
WOTB_GLOSSARY_DOMAIN: ${{ secrets.WOTB_GLOSSARY_DOMAIN }} WOTB_GLOSSARY_DOMAIN: ${{ secrets.WOTB_GLOSSARY_DOMAIN }}
WOTB_GLOSSARY_PATH: ${{ secrets.WOTB_GLOSSARY_PATH }} WOTB_GLOSSARY_PATH: ${{ secrets.WOTB_GLOSSARY_PATH }}