Last active
June 20, 2020 21:16
-
-
Save gabrieljoelc/24d7ae7d6609f7c8ef437c23bcd3e05f to your computer and use it in GitHub Desktop.
Set Heroku config from .env file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assuming .env file is in working directory and looks like (must have no whitspace expect for newlines or within quotes) | |
# REACT_APP_API_URL=https://myapi.io | |
# REACT_APP_AUTH_TOKEN=123 | |
# see https://stackoverflow.com/a/4229346/34315 | |
for line in `cat .env`; do echo "$line"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment