Skip to content

Add GitHub Actions workflows for docs deployment#13

Merged
corasan merged 5 commits into
mainfrom
docs/github-actions-workflows
Apr 20, 2026
Merged

Add GitHub Actions workflows for docs deployment#13
corasan merged 5 commits into
mainfrom
docs/github-actions-workflows

Conversation

@corasan
Copy link
Copy Markdown
Owner

@corasan corasan commented Apr 20, 2026

Summary

  • Add deploy-docs.yml: on push to main (when docs/** changes), builds the Docusaurus site and publishes docs/build to the gh-pages branch via peaceiris/actions-gh-pages.
  • Add test-docs.yml: on PRs touching docs/**, runs the same build to catch broken doc builds before merge (no deploy).

Test plan

  • Open this PR and confirm Test Docs Build runs and passes.
  • After merge to main, confirm Deploy Docs runs and pushes to gh-pages.
  • Verify GitHub Pages is configured to serve from the gh-pages branch in repo Settings → Pages.

corasan added 5 commits April 20, 2026 19:26
- Deploy Docusaurus site to gh-pages on push to main
- Test docs build on pull requests touching docs/
Bun's module hoisting triggers a webpack ProgressPlugin validation error
with Docusaurus 3.x. Switch docs workflows to install and build with npm
inside docs/ to avoid the incompatibility.
@corasan corasan merged commit 093db73 into main Apr 20, 2026
4 checks passed
@corasan corasan deleted the docs/github-actions-workflows branch April 20, 2026 20:58
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