develop branch:
git status # should show "nothing to commit"If there are uncommitted changes, commit them first (see Making Changes).
How to release a new version to the development or production environment using Git tags.
This project uses an automated deployment pipeline. Here's the simple explanation:
Deploy tags follow a specific naming pattern:
YYYYMMDD_NNN_dev_deploy β deploys to Development YYYYMMDD_NNN_prod_deploy β deploys to Production
| Part | Meaning | Example |
|---|---|---|
YYYYMMDD | Today's date | 20260615 = 15 June 2026 |
NNN | Sequence number (001 for first deploy today, 002 for second, etc.) | 001 |
dev or prod | Which environment to deploy to | dev or prod |
_deploy | Fixed suffix | (always the same) |
Examples:
20260615_001_dev_deploy β first dev deploy on 15 June 2026 20260615_001_prod_deploy β first prod deploy on 15 June 2026 20260615_002_dev_deploy β second dev deploy on the same day
Always deploy to development first to verify your changes look correct before going live.
develop branch:
git status # should show "nothing to commit"If there are uncommitted changes, commit them first (see Making Changes).
20260615_001_dev_deploy
git tag | grep "^20260615"If you see
20260615_001_dev_deploy already, use 002 instead.
git tag 20260615_001_dev_deploy
git push git@github-excelcare:Excel-Care-Group/excelcare-webapp.git 20260615_001_dev_deploy
Only deploy to production once you've verified the changes on development are correct.
prod instead of dev):
git tag 20260615_001_prod_deploy
git push git@github-excelcare:Excel-Care-Group/excelcare-webapp.git 20260615_001_prod_deploy
If you see a red β in GitHub Actions:
| Error Message | What It Means | How to Fix |
|---|---|---|
Permission denied or 403 on Google Cloud | A GCP permission is missing | Contact the project owner (samson.sam@excelcaregroup.com.au) to grant the missing permission. See the GCP guide. |
Repository not found | GitHub can't access the repo | Check that the WIF secrets are set correctly in GitHub β Settings β Secrets. |
pnpm install fails | A dependency has a problem | Check if pnpm-lock.yaml is committed. Run pnpm install locally and commit the updated lock file. |
| Build fails with TypeScript errors | Code has a syntax or type error | Run pnpm check locally to see the errors. Fix them, commit, and push a new tag. |
Changing from HTTPS to background trigger not allowed | A Cloud Function has a stale deployment | Delete the function in GCP Console β Cloud Functions, then re-tag. |
Try a hard refresh in your browser:
If still wrong, check the browser's developer console for errors: right-click the page β Inspect β Console tab.
If the new deployment breaks something, you can quickly roll back to the previous version in the Firebase Console:
# Get today's date in the right format (Mac/Linux) date +%Y%m%d # Deploy to development (replace DATE and NNN) git tag DATE_NNN_dev_deploy git push git@github-excelcare:Excel-Care-Group/excelcare-webapp.git DATE_NNN_dev_deploy # Deploy to production git tag DATE_NNN_prod_deploy git push git@github-excelcare:Excel-Care-Group/excelcare-webapp.git DATE_NNN_prod_deploy # Example for 15 June 2026, first deploy of the day: git tag 20260615_001_dev_deploy git push git@github-excelcare:Excel-Care-Group/excelcare-webapp.git 20260615_001_dev_deploy