Phoenix and Heroku pipelines issue

Hi there,

Will this cause any problem if I have the following in prod.exs?

config :facebook_menu,
   domain_url: System.get_env("API_DOMAIN")

It will not cause any problems but it will take the value when it is compiled. For heroku it will take the value from staging environment.
Then when you promote to production the value will not change.
If you want it to be different it’s better to set this value in application initializer. For Phonix this is in application.ex or app_name.ex