Created
March 14, 2019 16:41
-
-
Save sasha42/da7e388276c2be10810d025f937a815e to your computer and use it in GitHub Desktop.
heroku copy config to env
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
# first install https://github.com/xavdid/heroku-config | |
heroku plugins:install heroku-config | |
# then add the following to your ~/.bashrc or ~/.zshrc | |
alias hc="heroku config:pull && mv .env env.sh && chmod +x env.sh && . ./env.sh" | |
# next you can just run hc to copy over your config | |
hc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment