firebase-hosting-basics

Deploy static web content to Firebase Hosting (Classic) with secure defaults.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/involvex/happy-vibecode --skill firebase-hosting-basics-involvex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-hosting-basics
Source: https://github.com/involvex/happy-vibecode/tree/main/.agents/skills/firebase-hosting-basics
Command: npx skills add https://github.com/involvex/happy-vibecode --skill firebase-hosting-basics-involvex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Hosting static web content with fast delivery and secure defaults is often complex without a managed service. This skill simplifies deploying static sites and microservices to Firebase Hosting (Classic), including preview channels and zero-configuration SSL.

Core Features & Use Cases

  • Fast content delivery via a global CDN and built-in SSL.
  • Deploy and manage static sites, SPAs, and simple microservices with Firebase Hosting (Classic).
  • Use Case: Quickly publish a static marketing site with a preview channel for changes.

Quick Start

Run the Firebase CLI to deploy your static site to Firebase Hosting (Classic) after configuring firebase.json.

Frequently Asked Questions about firebase-hosting-basics

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

FAQPage Schema
How do I deploy a static site or SPA to Firebase Hosting?

To deploy a static site or SPA to Firebase Hosting, run the Firebase CLI after configuring your firebase.json file. This publishes your static web content to a global CDN with built-in SSL.

Can I test Firebase Hosting redirects and configuration locally before deploying?

Yes, you can test Firebase Hosting redirects and configuration locally using Firebase emulators. This allows you to validate your firebase.json setup before publishing to production.

Does Firebase Hosting support dynamic content or simple microservices?

Firebase Hosting supports dynamic content and simple microservices by integrating with Cloud Functions or Cloud Run. This extends static sites with backend capabilities.

What is the best way to preview changes to a static site before publishing?

The best way to preview changes is using Firebase Hosting preview channels. This generates a temporary URL to review static site modifications before releasing them to production.

Do I need firebase.json to configure secure defaults for SPA hosting?

Yes, firebase.json is required to configure secure defaults for SPA hosting. It defines routing rules, redirects, and deployment workflows for your static web content.