This repository contains deployment scripts for the CS1101S staging and production deployments of cadet-frontend.
The master
branch contains the GitHub workflow file. The actual frontend
source should be pushed to any other branch.
To deploy:
-
Push the commit(s) you want to deploy to the
deploy
branch (or any other branch) on this repository. -
Go to the "Deploy cadet-frontend" workflow on this repository.
-
Click on "Run workflow" and fill in the environment (
stg
orprod
) and ref (the branch name or commit hash) to deploy. -
Verify you've keyed in the correct environment.
-
🤞 Cross your fingers and hit the green "Run workflow".