GitHub Pages deployment
Publish the wiki with GitHub Pages using the main branch or a prebuilt site.
1) Repo setup
- Keep the
CNAMEfile updated if you use a custom domain. - Commit your changes to
main.
2) Configure Pages
- In Settings → Pages, select the
mainbranch and/(root) as the site folder. - If your site lives under a subpath (project site), set
_config.yml:url: https://username.github.iobaseurl: /your-repo-name
3) Unsupported plugins?
GitHub Pages only allows whitelisted plugins. If you need others:
- Build locally:
JEKYLL_ENV=production bundle exec jekyll build. - Push the contents of
_siteto agh-pagesbranch. - Point Pages to
gh-pages.
4) Custom domains
- Add the domain in Pages settings and ensure the
CNAMEfile matches. - Add DNS records (CNAME for subdomains, A/AAAA for apex).
- Enable HTTPS after DNS propagates.