heroku-pipelines

Heroku pipeline - staging env variable carried into production

筅森魡賤 提交于 2019-11-30 19:11:31
I've recently deployed a React/Express app to Heroku, but I'm having an issue with environment variables that are part of the built app and the Heroku deployment pipeline - in a nutshell, the values of environment variables from the app's staging release are being carried over when promoting to production - the only way that I can get the environment variables to set correctly is to push the app directly to production , which really defeats the purpose of the deployment pipeline in the first place. Here's a summary of the scenario: The environment variable in question is API_URL , which is

Heroku pipeline - staging env variable carried into production

半城伤御伤魂 提交于 2019-11-30 02:22:09
问题 I've recently deployed a React/Express app to Heroku, but I'm having an issue with environment variables that are part of the built app and the Heroku deployment pipeline - in a nutshell, the values of environment variables from the app's staging release are being carried over when promoting to production - the only way that I can get the environment variables to set correctly is to push the app directly to production , which really defeats the purpose of the deployment pipeline in the first