-
Notifications
You must be signed in to change notification settings - Fork 1
Branch guidelines
Every task, feature, bugfix, etc. should have its own branch created, branched out from staging on the latest possible commit. Newly added code is committed to the feature branch, which then should be made into a PR to the staging branch.
Image:
Other than that, this repository has 3 main branches:
- main
- staging
- gh-pages
The main branch contains the latest non-built react code. It has passed all tests in the staging environment and is approved by all members. Every PR that is approved to this branch is automatically built and deployed to production environment.
Staging branch is used to deploy and test code. This is the active development branch where all code is pushed to. Upon commit to this branch, GH Action is triggered to build the application and deploy it for testing on the github pages link.
gh-pages branch contains the built react code which can be accessed in the github pages link.
