firebase deploy --only hosting,functions

Category: Firebase & Firestore

firebase deploy --only hosting,functions

Deploy multiple targets at once

Deploys only the listed targets — here Hosting and Cloud Functions — while skipping rules and indexes. The --only flag accepts a comma-separated list of any deployable target. This is the fastest way to ship frontend plus backend changes together.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.