Skip to content

Commit ef8e1cc

Browse files
crrowclaude
andcommitted
ci(pages): build mdbook docs in deploy pipeline
- Install mdbook in CI runner - Build docs after vite build - Copy mdbook output to dist/docs/ The docs were 404ing because the deploy pipeline only ran vite build without building the mdbook documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 63a02b3 commit ef8e1cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ jobs:
1010
deploy:
1111
uses: rararulab/workflows/.github/workflows/deploy-pages.yml@main
1212
with:
13-
build-command: "cd web && npm ci && npm run build"
13+
build-command: "cargo install mdbook --no-default-features && cd web && npm ci && npm run build && mdbook build docs && cp -r docs/book dist/docs"
1414
output-dir: "web/dist"

0 commit comments

Comments
 (0)