Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 509
Tord Larsen Avatar asked Dec 10 '22 07:12

Tord Larsen


1 Answers

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

like image 71
djnose Avatar answered Jan 18 '23 22:01

djnose