Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mtShaikh/c70cf6dc2439440e2bdb3095d5760014 to your computer and use it in GitHub Desktop.
Save mtShaikh/c70cf6dc2439440e2bdb3095d5760014 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