Skip to content

Instantly share code, notes, and snippets.

@ultimagriever
Last active February 10, 2017 13:30
Show Gist options
  • Save ultimagriever/79608f97cedb88f1fba71f05d61dc84c to your computer and use it in GitHub Desktop.
Save ultimagriever/79608f97cedb88f1fba71f05d61dc84c to your computer and use it in GitHub Desktop.
Set Heroku config vars from .env file
# Usage: sh heroku-config-set.sh [/path/to/.env] [app-name]
ENV_FILE=$1
APP=$2
heroku config:set $(cat $ENV_FILE) -a $APP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment