Skip to content

ci: fix docs not deployed in build-firmware workflow#35

Merged
zevorn merged 1 commit intomainfrom
ci/fix-docs-deploy
Mar 15, 2026
Merged

ci: fix docs not deployed in build-firmware workflow#35
zevorn merged 1 commit intomainfrom
ci/fix-docs-deploy

Conversation

@zevorn
Copy link
Copy Markdown
Owner

@zevorn zevorn commented Mar 15, 2026

Summary

The docs viewer shows "Document not found" because build-firmware.yml's
deploy job deploys to GitHub Pages without copying docs/. When it runs
after deploy-pages.yml, it overwrites the site and docs disappear.

Fix: add cp -r docs/ website/docs/ to build-firmware.yml deploy step.

Root cause

Two workflows deploy to the same GitHub Pages environment:

  • deploy-pages.yml: copies images + docs ✓
  • build-firmware.yml: copies images only ✗ ← this one overwrites without docs

Signed-off-by: Chao Liu chao.liu.zevorn@gmail.com

build-firmware.yml deploys to GitHub Pages but was missing the
docs/ copy step.  When it ran after deploy-pages.yml, it
overwrote the site without docs, causing 404 on the docs viewer.

Signed-off-by: Chao Liu <chao.liu.zevorn@gmail.com>
@zevorn zevorn merged commit 1e43a75 into main Mar 15, 2026
1 check passed
@zevorn zevorn deleted the ci/fix-docs-deploy branch March 15, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant