CI: sbtc-bridge-web
Builds and deploys to staging.sbtc.world / sbtc.world on push/merge to main / staging GitHub branches.
GitHub
Setup branch main
for production. Setup up merge rules;
--> merge to main from other branches
One approval needed to merge.
Cloudflare recognises main
as the production branch and merges are automatically built to;
sbtc.world
Authorisation is possibly needed to access build branches
Bridge Web App Continuous Integration
Leverage Cloudflare / GitHub integration (requires Cloudflare to have control over the sbtc.world domain). Main goals;
Cloudflare hooks to build any development branch on push
Builds to <commit-hash>.sbtc-bridge.pages.dev
Cloudflare production build - https://sbtc.world
GCP Changes
Name Servers
The name servers for sbtc.world domain have been transferred from GCP to Cloudflare
GCP --> Cloud Domains --> sbtc.world
Unlock domain
Switch DNSSec off
In DNS Details enter the Cloudflare Name Servers (see below)
annalise.ns.cloudflare.com
ganz.ns.cloudflare.com
Cloudflare Changes
CF Pages had already been configured by @fjs to build on git push/merge to production and non-production branches.
Add new web site sbtc.world
Nameservers displayed needed for GCP above.
Setup DNS for sbtc.world
and staging.sbtc-bridge.pages.dev;
Staging
UI tag added to local and staging sites to make them easily distinguishable from production;
Bridge API
See API description.
References
Last updated