Release branch deployment
Problem
Since we deploy to dex.demo.oax.org
every time anyone pushes commits,
it is quite easy to temporarily cause serious breakage, which would render
the demo site unusable.
Solution
To maintain the current agility of development, we agreed to continue practicing trunk-based development (TBD), but introduce 1 release branch which any one of us can merge the trunk into manually, which then gets automatically deployed to the demo site.
To foster collaboration with the community once we made our source repo public,
we decided to use the master
branch as trunk and some other branch as the
release branch.
The CI script should only deploy the release branch to dex.demo.oax.org
.
Ideally the CI script should deploy the trunk to somewhere too or even deploy any existing branch under their own URL, if possible.