4
votes

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.

1

1 Answers

13
votes

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