Deployment
GitHub Pages
Deploy this Fumadocs site to GitHub Pages on every push.
This repository includes a GitHub Actions workflow that builds the static Next.js export and deploys the out directory to GitHub Pages.
Repository Settings
In GitHub:
Settings -> Pages -> Build and deployment -> Source -> GitHub ActionsThen push to main.
Base Path
Project pages are served from:
https://OWNER.github.io/REPOSITORY/The Next.js config detects GitHub Actions and sets the base path to the repository name. For custom domains or root pages, set:
NEXT_PUBLIC_BASE_PATH=Local Build
npm install
npm run types:check
npm run build
npm run previewThe static export is written to:
out/