From ab52e9e5e12fe825ce40e2fd3c766360d3f7dbad Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 30 Apr 2025 17:51:46 +0000 Subject: [PATCH] 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. --- scripts/docs-deploy/utils.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docs-deploy/utils.mts b/scripts/docs-deploy/utils.mts index 332df7d592b2..3e9607f19d14 100644 --- a/scripts/docs-deploy/utils.mts +++ b/scripts/docs-deploy/utils.mts @@ -54,6 +54,6 @@ export async function buildDocsSite() { cd(projectDir); await $`pnpm bazel build --config=snapshot-build //docs:build.production`; await $`rm -Rf docs/dist`; - await $`mkdir -p docs/dist`; await $`cp -R dist/bin/docs/dist/browser docs/dist`; + await $`chmod u+w -R docs/dist`; }