Tord Larsen
Tord Larsen

Reputation: 2836

Cloud Function deploy function to selected project

I read the Cloud Fucntions docs and successfully deployed and it's working great. In my Firebase I have two projects, debug and production and they have different package names.

I can't find out how to deploy the function to my production project only to the debug project. Where do I change the target for deploy since I am singed in using google into Firebase and the projects debug/production is there.

Upvotes: 5

Views: 3297

Answers (1)

djnose
djnose

Reputation: 945

You need to add the other project first. Open a terminal in your functions folder (not in the subfolder functions) and write firebase use --add after that you can select the project via firebase use YourProjectName

Upvotes: 16

Related Questions