Jobsamuel
Jobsamuel

Reputation: 1342

How to deploy ONLY Cloud Functions without affecting Hosting?

Basically, I'd like to: firebase deploy --only functions without remove my webapp* (Hosting). Every deploy takes too long because of this step: hosting: preparing . directory for upload..., so I'd like to skip it without affecting my previously deployed webapp.

How could I do that?

*I deleted by mistake my webapp (which is in production) by using this: firebase deploy --only functions

Upvotes: 0

Views: 543

Answers (1)

Chris Esplin
Chris Esplin

Reputation: 892

The --only functions flag should not delete your hosted files. If that happened, I suspect you discovered a bug. I'd try confirming that you can delete your app with the --only functions flag and submit a support request to the Firebase team.

Upvotes: 1

Related Questions