Pages can now publish up to five more branches per repository, each at its own address (thanks for the request in #214):
https://<username>.codefloe.page/<repository>@<branch>/
The main site stays at https://<username>.codefloe.page/<repository>/, so existing links keep working.
To publish a branch, open Settings → Pages, pick a branch under Additional branches and click Publish branch.
It goes live within a minute and updates on every push, and deleting the branch takes its site down.
Before you start:
- Branch names may only contain letters, digits,
.,_and-. - If your site generator needs a base path, set it to
/<repository>@<branch>/for that branch. - Custom domains always serve the main branch.
For pull request previews, keep using roost.
The full guide is in the docs.