GitHub Pages¶
The documentation site is built with MkDocs Material and deployed by GitHub Actions.
Domain¶
Primary domain:
The custom domain is declared in:
MkDocs copies that file into the built site/ directory during deployment.
Local Preview¶
Install dependencies:
Run the docs server:
Build strictly:
GitHub Repository Settings¶
After the repository is created on GitHub:
- Open repository settings.
- Go to Pages.
- Set source to GitHub Actions.
- Confirm the custom domain is
nuzo.com.br. - Enable Enforce HTTPS after DNS is valid.
DNS¶
For an apex domain, configure GitHub Pages DNS records.
Recommended records:
A @ 185.199.108.153
A @ 185.199.109.153
A @ 185.199.110.153
A @ 185.199.111.153
AAAA @ 2606:50c0:8000::153
AAAA @ 2606:50c0:8001::153
AAAA @ 2606:50c0:8002::153
AAAA @ 2606:50c0:8003::153
Optional www redirect:
Deployment¶
The workflow is:
It runs on pushes to main and manual dispatch.