harisumiran/Deploy to Firebase Hosting

Deploys a pre-built static directory to a Firebase Hosting target and trims old releases to keep the site history lean.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: harisumiran/deploy-to-firebase-action@18314c0c492f237dc77ff8b8ca05c31c28726ab8 # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
firebase_project_idFirebase project ID (e.g. career-portal-prod)yes
hosting_targetFirebase Hosting site ID (e.g. career-portal)yes
service_accountFirebase service account JSON (contents, not a file path)yes
build_dirDirectory containing the built files to deploy (e.g. dist)yes
keep_releasesNumber of releases to keep. Older ones are deleted.no2
headersJSON array of Firebase Hosting header rules to apply (optional)no[]
rewritesJSON array of Firebase Hosting rewrite rules to apply (optional)no[]
namedescription
deploy_urlThe live Firebase Hosting URL after deploy