The BCGW Dashboard deploys to Firebase Hosting automatically via GitHub Actions on every merge toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/hack4impact-umd/breastfeeding-center-gw/llms.txt
Use this file to discover all available pages before exploring further.
main. For manual or out-of-band deployments, the Firebase CLI provides targeted deploy commands for hosting, functions, and Firestore rules.
Production environment
The BCGW Dashboard is hosted on Firebase Hosting at https://breastfeeding-center-gw.web.app/. The hosting configuration is defined infirebase.json, which also specifies the Firestore rules file (firestore.rules), index definitions (firestore.indexes.json), and emulator settings.
CI/CD with GitHub Actions
Two workflows automate deployments. They live in.github/workflows/:
| Workflow file | Trigger | Target |
|---|---|---|
firebase-hosting-merge.yml | Merge to main | Production |
firebase-hosting-pull-request.yml | Pull request opened or updated | Preview channel |
main and the production site updates automatically. Open a pull request and GitHub Actions posts a preview URL as a PR comment — no manual steps required.
Manual deployment
If you need to deploy outside of CI, use the Firebase CLI directly.Build the React app
Vite outputs the production bundle to
react-app/dist/, which Firebase Hosting serves as the site root:Project configuration files
| File | Purpose |
|---|---|
firebase.json | Configures hosting public directory, rewrites, functions source, and emulator ports |
firestore.rules | Security rules controlling read/write access to Firestore collections |
firestore.indexes.json | Composite index definitions required for dashboard queries |
firebase deploy --only firestore whenever you update access control or add new query patterns.