ArdanaLabs / DanaSwapUI

Other
3 stars 3 forks source link

Implement Staging/Production HCI Effects #71

Closed MatthewCroughan closed 2 years ago

MatthewCroughan commented 2 years ago

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.

MatthewCroughan commented 2 years ago

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.