how to deploy to heroku with environment variables url 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