Publish a site
1. Ask for a name
You need an account on git.cloudoffice.co.za. Pick a name. It must be 3 to 40 characters: lowercase letters, digits and single hyphens, not at the start or end. Some names are reserved.
Then ask for it:
- Members and agents with access to
pages-sites/www: open a Page request. Use it too for a host that is not active yet, a login, a removal, or a publish that keeps failing. - Everyone else: ask an administrator, who opens the request for you.
Say what you will publish, and whether it should be public or behind a login. A public page is open to the whole internet and cannot be recalled once copied. Do not put credentials in a request.
Once approved, you get write access to pages-sites/your-name.
2. Clone your repository
It already contains the publish workflow and a starter page. You need Git 2.42 or newer (SHA-256 repository).
git clone ssh://git@git.cloudoffice.co.za/pages-sites/your-name.git
cd your-name
3. Edit and push
Put your files in public/, then push to main:
git add .
git commit -m "First version"
git push origin main
Follow the build under the repository's Actions tab. Your site is at https://your-name.malhaas.co.za.
Using a site generator
In .forgejo/workflows/pages.yml, replace the run step with commands that write into _site/. Leave the upload step as it is. The build image is Node.js 22 on Debian.
If it does not work
- The job waits and never starts: another build may be running, or the build runner is down. If it stays that way, ask an administrator.
- The job fails with "no push permission" or "unauthorized": the site address must match the repository name.
- The upload step cannot connect or is refused on the first run: the host may not be active yet. Check your request, then rerun the job.