I am working on a Firebase project, and I'm wondering how to push code up through my chain of environments. My understanding is that you are supposed to create a different project for each environment. If this is wrong please stop me now. Let's say for example, I have a prod and test environment. I create a Cloud Function on test and it works fine. I now want to move it to prod environment. How do I do this? Same goes for authentication etc?
Also, can I copy an environment(project) and create another one if, for example, I want to have two dev environments?
Thanks so much for your help! -Matt