mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 11:39:51 +01: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
|
- name: Build
|
||||||
run: bun run --bun build
|
run: bun run --bun build
|
||||||
env:
|
env:
|
||||||
BUILD_CHUNK: ${{ matrix.chunk }}
|
CHUNK: ${{ matrix.chunk }}
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
id: upload
|
id: upload
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { GetStaticPaths } from "astro";
|
|||||||
|
|
||||||
export function chunkedStaticPaths(chunk: string) {
|
export function chunkedStaticPaths(chunk: string) {
|
||||||
return function () {
|
return function () {
|
||||||
const chunksEnv = assertSecret(import.meta.env.CHUNKS);
|
const chunksEnv = assertSecret(import.meta.env.CHUNK);
|
||||||
const chunks = chunksEnv.split(",");
|
const chunks = chunksEnv.split(",");
|
||||||
|
|
||||||
if (chunksEnv !== "*" && !chunks.includes(chunk)) {
|
if (chunksEnv !== "*" && !chunks.includes(chunk)) {
|
||||||
|
|||||||
Reference in new issue
Block a user