Deploying Your Blog¶
Egregora generates a standard static site compatible with any hosting provider.
GitHub Pages (Recommended)¶
Egregora includes a pre-configured GitHub Actions workflow for zero-config deployment.
1. Push to GitHub¶
Initialize a git repository and push your site:
2. Configure Settings¶
- Go to your repository Settings → Pages.
- Under Build and deployment, select GitHub Actions as the source.
- (Optional) If you don't see the workflow, ensure
.github/workflows/docs-pages.ymlexists in your repo.
3. Verify¶
On every push to main, GitHub Actions will:
- Install Egregora
- Build your site
- Deploy to
https://USERNAME.github.io/REPO/
Manual Deployment¶
You can also deploy manually using the mkdocs CLI:
This will build the site and push it to the gh-pages branch.
Known Issues
Manual deployment bypasses the automated build steps (like generating the demo site or enriching content in CI). We recommend using the GitHub Actions workflow.
Other Hosting Providers¶
Since Egregora outputs static HTML, you can host it anywhere:
- Netlify: Drag and drop the
site/folder (after runningmkdocs build). - Vercel: Import your Git repo and set the build command to
uv run mkdocs buildand output directory tosite. - Cloudflare Pages: Use build command
uv run mkdocs buildand output directorysite.
Custom Domain¶
To handle a custom domain (e.g., blog.example.com):
- Update
site_urlinmkdocs.yml. - Add a
CNAMEfile todocs/CNAMEwith your domain name. - Update your DNS provider settings.