Last active
October 16, 2020 06:57
-
-
Save shriharip/7a02812b78518b7b59bd836597d48ec1 to your computer and use it in GitHub Desktop.
Firebase environment set with json data
This file contains 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
firebase functions:config:set env="$(cat env.json)" | |
firebase functions:config:unset env && firebase functions:config:set env="$(cat env.json)" | |
example env.json | |
{ | |
"web": { | |
"id": "value", | |
"database": "general" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://medium.com/firelayer/deploying-environment-variables-with-firebase-cloud-functions-680779413484