I have an APP which is already running. Is accessible from the outside (Public Internet). I can access it. I want to remove it from the public network, to be accessible only internally.
Actually, I have two same apps, one for production (this one should continue being accessible from outside), and the staging app, this one should only be accessible internally (I will use Tunnel to access it). The code base is the same.
But doing that will also change the settings the production app.
I have the same codde base, I decide to which app to deploy, based on the branch. If I change this file, when I merge to main branch, production app will also be removed from the public network. How can I prevent that, and change only for the app deployed to staging?