Build and deploy
Export your Bevel site to plain files, then host it on GitHub Pages, any static host, or your own ASP.NET Core app.
dotnet run -c Release -- --bevel-build dist
That renders every page into dist. Upload the folder to any web host.
Write static files, and run steps after the export.
A complete workflow for project and user pages.
Use
PathBasewhen the site is not at the domain root.Netlify, Cloudflare Pages, Azure Static Web Apps, S3, nginx, or your own app.
How your app serves the site live.
Why protected routes stop an export, and how to opt in.
You can publish a Bevel site two ways:
- Static hosting. Upload the exported files to GitHub Pages, Netlify, S3, Azure Static Web Apps or any web server. Bevel does not run there. The host serves the files, so set up 404 pages, fallbacks and redirects in the host's settings.
- Your ASP.NET Core app. Deploy the app with its exported
wwwroot. Bevel answers its own routes. This helps when the site lives next to live endpoints such as APIs or sign-in pages.