What would be a good way to determine from code whether the code is running on a production or a dev environment in odoo.sh ?
Are there any environment variables injected by odoo.sh that are accessible ?
A use case would be to add the 'debug_mode' variable to the google analytics gtag on all non production environment by default.
you can check that code in each branch of github repo(specific for that project) and check found branch related stage in odoo.sh it could be production, staging or dev