Skip to content

Commit babaeef

Browse files
committed
build: ensure docs/dist directory contains site sources
Right now because the `dist` directory is pre-created, the `dist/dist` structure is being created accidentally.
1 parent e259f64 commit babaeef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/docs-deploy/utils.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ export async function buildDocsSite() {
5454
cd(projectDir);
5555
await $`pnpm bazel build --config=snapshot-build //docs:build.production`;
5656
await $`rm -Rf docs/dist`;
57-
await $`mkdir -p docs/dist`;
5857
await $`cp -R dist/bin/docs/dist/browser docs/dist`;
58+
await $`chmod u+w -R docs/dist`;
5959
}

0 commit comments

Comments
 (0)