firebase deploy --only hosting

Category: Firebase & Firestore

firebase deploy --only hosting

Deploy only Hosting content

Uploads just the Hosting site (the static files from your public directory) and leaves functions, rules, and indexes alone. Faster than a full firebase deploy when you only changed frontend files. Target a single site in multi-site setups with --only hosting:site-name.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.