how to add the env file to heroku dynamically code example
Example 1: heroku variables console
To check variables:
heroku config
To set variables:
heroku config:set VARIABLE_HERE=value
Example 2: spring heroku change environment
$ heroku config:set SPRING_PROFILES_ACTIVE=tst