Using Hercules CI, I have created two functions which wrap hci-effects.
mkWebsite and mkGitBranchViaEffect. They are shell scripts which push to
branches on codeberg-pages. codeberg-pages then serves these branches,
which we then point to via Cloudflare.
This means that whenever code is merged into staging, each website is
pushed to a branch on codeberg-pages which is then served at the
following URLs:
There is not really a dependency on #70 being merged first. All this means is that staging will exist and be available, but that main will still be on gh-pages, until #70 is merged.
Using Hercules CI, I have created two functions which wrap hci-effects. mkWebsite and mkGitBranchViaEffect. They are shell scripts which push to branches on codeberg-pages. codeberg-pages then serves these branches, which we then point to via Cloudflare.
This means that whenever code is merged into
staging
, each website is pushed to a branch on codeberg-pages which is then served at the following URLs:dc1ece41 is just an identifier to prevent robots or humans from discovering the URL by brute force, it is not particularly important or significant.