Publishing¶
GitHub Pages hosts the public site. Zensical builds the static files.
One-time GitHub setup¶
- Open Settings -> Pages.
- Set Source to GitHub Actions.
- Open Settings -> Actions -> General.
- Under Workflow permissions, allow Read and write permissions so the release job can create tags and GitHub Releases.
- Open Settings -> General -> Pull Requests.
- Enable Squash merging and use the pull request title as the squash commit message.
The public site will be:
https://rcsnyder.github.io/open-frontier-curriculum/
Normal workflow¶
- Open a pull request with a Conventional Commit title, such as
feat: add optics pathorfix: correct a source. - Let the checks pass.
- Merge with Squash and merge.
- GitHub Actions creates the next version tag and GitHub Release.
- The same workflow builds Zensical and deploys GitHub Pages.
No manual release or publish command is required.
Local preview¶
uv sync --frozen
uv run --frozen zensical serve
Open http://localhost:8000.