How to switch between two firebase projects in cloud functions?
12,941
Please read the documentation for the Firebase CLI. In particular, you'll want to learn about the firebase use
command to create aliases for your projects and switch between them for deployment.
Author by
Alexander Khitev
Updated on June 05, 2022Comments
-
Alexander Khitev almost 2 years
I have two Firebase projects one for the development of another for production. How do I switch between them in the root branch with cloud functions? Since for example I'm developing a new function and I want to do deploy only on the firebase development project and check how it works before doing deploy in the firebase production project.
-
Alexander Khitev almost 7 yearsYes, sorry, did not write an answer to this, yes I already read it there, also found the information here stackoverflow.com/questions/36432458/…
-
Alam almost 2 yearsfirebase use --add