Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save llighterr/88c0a6a9e62bcab45a1f7dd20d1cf528 to your computer and use it in GitHub Desktop.
Save llighterr/88c0a6a9e62bcab45a1f7dd20d1cf528 to your computer and use it in GitHub Desktop.
Command line to read .env file and set Heroku config vars
heroku config:set $(cat .env | sed '/^$/d; /#[[:print:]]*$/d')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment