I am trying to setup a staging env for my app on Heroku. And everytime I push my repo it deploys/runs the application in production mode. What do I need to do to make the app run in some other mode.
I am trying to setup a staging env for my app on Heroku .
Share
See the last section in this Heroku article on Configuration and Config Vars.
In brief, though:
Also be careful not to miss the note that accompanies that section: