mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-06 08:13:09 +01:00
Compare commits
4
Commits
b8742bae66
...
050cb7a834
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
050cb7a834 | ||
|
|
6dbcbc2afc | ||
|
|
484cb8fcb5 | ||
|
|
e09b407e61 |
No files matched your search
@@ -25,7 +25,7 @@ env:
|
||||
WOTB_GLOSSARY: ${{ secrets.WOTB_GLOSSARY }}
|
||||
WOTB_GLOSSARY_DOMAIN: ${{ secrets.WOTB_GLOSSARY_DOMAIN }}
|
||||
WOTB_GLOSSARY_PATH: ${{ secrets.WOTB_GLOSSARY_PATH }}
|
||||
GAME_DIR: temp/game
|
||||
GAME_DIR: ../../temp/game
|
||||
|
||||
# google
|
||||
PUBLIC_GOOGLE_TAG_MANAGER_ID: ${{ secrets.PUBLIC_GOOGLE_TAG_MANAGER_ID }}
|
||||
@@ -112,12 +112,12 @@ jobs:
|
||||
DEPOT_DOWNLOADER="$TEMP/DepotDownloader"
|
||||
GAME="$TEMP/game"
|
||||
|
||||
$DEPOT_DOWNLOADER -os $STEAM_OS -app $STEAM_APP -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME
|
||||
$DEPOT_DOWNLOADER -os $STEAM_OS -app $STEAM_APP -username $STEAM_USERNAME -password $STEAM_PASSWORD -dir $GAME -max-downloads 256
|
||||
|
||||
- name: Build
|
||||
run: bun run build
|
||||
run: bun run --bun build
|
||||
env:
|
||||
BUILD_CHUNK: ${{ matrix.chunk }}
|
||||
CHUNK: ${{ matrix.chunk }}
|
||||
|
||||
- name: Upload artifact
|
||||
id: upload
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { GetStaticPaths } from "astro";
|
||||
|
||||
export function chunkedStaticPaths(chunk: string) {
|
||||
return function () {
|
||||
const chunksEnv = assertSecret(import.meta.env.CHUNKS);
|
||||
const chunksEnv = assertSecret(import.meta.env.CHUNK);
|
||||
const chunks = chunksEnv.split(",");
|
||||
|
||||
if (chunksEnv !== "*" && !chunks.includes(chunk)) {
|
||||
|
||||
Reference in new issue
Block a user