Skip to content

Instantly share code, notes, and snippets.

@matthew-andrews
Last active February 7, 2016 00:13
Show Gist options
  • Save matthew-andrews/1da58dc5f931499a91d0 to your computer and use it in GitHub Desktop.
Save matthew-andrews/1da58dc5f931499a91d0 to your computer and use it in GitHub Desktop.
Get production config vars
curl -sL https://ft-next-config-vars.herokuapp.com/production/`cat package.json | json name` -H "Authorization: `heroku config:get APIKEY --app ft-next-config-vars`" | json --items -a key value -d = | sed 's/\(.*\)/-e \1/' | tr '\n' ' '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment