Automatically configure workspace modes: Production and Development

Hi!
When deploying, my production environment always starts in development mode, despite having the same secrets and settings as my development machine. I’ve wasted countless hours troubleshooting this problem. Is there a centralized way to resolve this in Replit?