dc0cfaeDeploy workflow: build, test, and publish the app and gallery as the repository siteJeremy Magland 1// Copies the generated parameter gallery (without the raw signal cache) into the built site.
2import { cpSync, existsSync, mkdirSync } from "node:fs";
4const src = "docs/gallery";
5const dst = "dist/docs/gallery";
6if (existsSync(src)) {
7 mkdirSync(dst, { recursive: true });
8 cpSync(src, dst, { recursive: true, filter: (p) => !p.includes("/raw") });
9 console.log(`copied ${src} -> ${dst}`);
10}