Summary
For each branch, the user can have a environment url to see his application running on the browser.
Intended Outcome
For each created branches, the user will have a dedicated environment (env-xxx.platform-as.codes) with an auto-redirect from HTTP to HTTPS.
How will it work?
- When a new branch is created, a new valid environment URL is provided.
- When the code is pushed on existing branch, the existing URL is kept and the code is deployed the new version.
- When a branch is deleted, the dedicated environment is deleted.