Skip to content

Instantly share code, notes, and snippets.

@shivergard
Created January 25, 2017 21:36
Show Gist options
  • Save shivergard/454a1615b1312b548e06c0bfe0dee2e6 to your computer and use it in GitHub Desktop.
Save shivergard/454a1615b1312b548e06c0bfe0dee2e6 to your computer and use it in GitHub Desktop.
Push local .env file details to Heroku
#!/bin/bash
while IFS='' read -r line || [[ -n "$line" ]]; do
heroku config:set $line
done < "./.env"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment