mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
chunk typo
This commit is contained in:
1 parent
6dbcbc2afc
commit
050cb7a834
2 files changed
+2
-2
No files matched your search
@@ -117,7 +117,7 @@ jobs:
|
||||
- name: 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