Deploying Hugo to Codeberg Pages

This site uses Forgejo Actions to automatically build and deploy whenever changes are pushed. The repository is named pages, which is required for Codeberg Pages to serve it at the canonical URL. The source files live in the main branch, and the workflow builds the Hugo site and pushes the resulting HTML to a pages branch. After the first deployment, you need to change the default branch to pages in the repository settings. ...

January 25, 2026 · 2 min · 377 words · rustikus