Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@randallreedjr
Last active May 1, 2020 20:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randallreedjr/5386d7e2f09fa8258e084c4cace1878d to your computer and use it in GitHub Desktop.
Save randallreedjr/5386d7e2f09fa8258e084c4cace1878d to your computer and use it in GitHub Desktop.

To copy a Heroku ENV variable from one application to another, from a bash shell, run

heroku config:set MY_VAR="$(heroku config:get MY_VAR --app old-app-name)" --app new-app-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment