Firebase Hosting Deployment

Deploy web applications to Firebase Hosting via GitHub Actions CI/CD.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dmcguire80/The-Forge --skill firebase-hosting-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Firebase Hosting Deployment
Source: https://github.com/dmcguire80/The-Forge/tree/main/skills/firebase-hosting-deployment
Command: npx skills add https://github.com/dmcguire80/The-Forge --skill firebase-hosting-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying web applications to Firebase Hosting with GitHub Actions CI/CD often involves repetitive setup, configuration drift, and manual publishing steps. This Skill provides standardized templates, a bootstrap script, and a guided workflow to automate hosting setup, builds, and deployment, reducing time to publish and minimizing errors.

Core Features & Use Cases

  • Automated hosting deployments: Prebuilt GitHub Actions workflow that builds the app and deploys to Firebase Hosting with configurable project IDs and secrets.
  • Migration support: Clear guidance and templates to transition from self-hosted hosting to Firebase Hosting, including DNS and SSL considerations.
  • Standardized templates: Ready-to-use firebase.json, .firebaserc, and a setup script to bootstrap new projects quickly.
  • Use Case: For a React/Vite app, push a tagged release to trigger automatic deployment to hosting.

Quick Start

Copy the templates to your project, make the setup script executable, run the setup with your Firebase project ID, and configure GitHub Secrets (FIREBASE_SERVICE_ACCOUNT and FIREBASE_PROJECT_ID). Then push a tag to trigger deployment.

Frequently Asked Questions about Firebase Hosting Deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Firebase Hosting deployments with GitHub Actions CI/CD?

Automate Firebase Hosting deployments by copying prebuilt GitHub Actions workflow templates into your repository, running the bootstrap script with your project ID, and configuring GitHub Secrets like FIREBASE_SERVICE_ACCOUNT to trigger automatic builds and deploys on tag pushes.

What do I need to set up Firebase Hosting deployment for a new project?

To set up Firebase Hosting deployment for a new project, you need the Firebase CLI, a GitHub repository, standard configuration files including firebase.json and .firebaserc, a GitHub Actions workflow, and secure GitHub Secrets configured for your Firebase project.

Can I migrate from self-hosted hosting to Firebase Hosting using CI/CD?

Yes, you can migrate from self-hosted hosting to Firebase Hosting using CI/CD. This Skill provides migration support with clear guidance and standardized templates for transitioning, including specific considerations for managing DNS and SSL configurations during the move.

Does GitHub Actions CI/CD support multi-environment deployments to Firebase Hosting?

Yes, GitHub Actions CI/CD supports multi-environment deployments to Firebase Hosting. The prebuilt workflow allows you to deploy to multiple environments by using configurable project IDs and managing distinct secure secrets across your deployment targets.

What's the best way to manage secrets for Firebase Hosting CI/CD pipelines?

The best way to manage secrets for Firebase Hosting CI/CD pipelines is by configuring GitHub Secrets. You must securely store credentials like FIREBASE_SERVICE_ACCOUNT and FIREBASE_PROJECT_ID in your repository settings to authorize the GitHub Actions workflow to deploy.

Why does my Firebase Hosting deployment fail when triggered by GitHub Actions?

Firebase Hosting deployments via GitHub Actions often fail due to configuration drift or missing standard files. Ensure your repository contains valid firebase.json and .firebaserc files, and that GitHub Secrets like FIREBASE_SERVICE_ACCOUNT are correctly configured for your target project.