diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 61239d1..0efe486 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -63,6 +63,13 @@ jobs: - name: Build run: bun run build + # The build the published site is made from. It had never run anywhere + # but a Windows laptop until it failed on the host's runner, so it runs + # here now: `vite` is a devDependency and a host that skips its install + # step gets `vite: command not found` after everything else has passed. + - name: Build the site + run: bun run site:build + # A software rasteriser, no GPU. The contact sheet is uploaded because # geometry checks cannot say "this does not look like a shovel", and # having the picture attached to the run is what makes that reviewable. diff --git a/.gitignore b/.gitignore index d357e15..0598e32 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,13 @@ scripts/zdiag.ts # Reference images. They belong to the (private) studio repo, not to the # registry that consumers clone. references/ + +# Cloudflare's "import a repository" flow offers to write one of these, and it +# describes a WORKER serving static assets rather than a Pages project. The +# site is deployed as Pages, so a config for the other path does not belong in +# the tree — and it is not inert if it gets there: the build log reports +# "Checking for configuration in a Wrangler configuration file", so a stray one +# would change how the project is treated. +wrangler.toml +wrangler.json +wrangler.jsonc diff --git a/package.json b/package.json index 07fb7b0..2d0f13e 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "registry:validate": "vibe3d registry validate my-registry/dist/registry.json", "viewer:build": "vite build --config vite.viewer.config.ts && bun scripts/build-artifact.ts", "site:build": "bun run registry:build && bun run viewer:build && bun scripts/build-site.ts", + "site:ci": "bun install --frozen-lockfile && bun run site:build", "verify:glb": "bun scripts/verify-glb.ts", "render": "bun scripts/render.ts", "export:glb": "bun scripts/export-glb.ts"