malhaas pages

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:

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