Websites from a git push
Keep a static website in a Forgejo repository. Push a change, and it is built and published at https://your-name.malhaas.co.za.
How it works
- You ask for a name. An administrator approves it and creates a repository with that name.
- You push your site to the
mainbranch. The publish workflow is already there. - Forgejo runs the workflow, which builds your files in a container.
- The workflow uploads the result, and your site is live.
Good to know
- Everything you publish is public, even though your repository is private.
- Sites are static: HTML, CSS, JavaScript and images. No server-side code or database.
- You do not need a separate password or key to publish. The workflow's own token is enough.
Ready? Publish your first site.