Skip to content

Instantly share code, notes, and snippets.

@shriharip
Last active October 16, 2020 06:57
Show Gist options
  • Save shriharip/7a02812b78518b7b59bd836597d48ec1 to your computer and use it in GitHub Desktop.
Save shriharip/7a02812b78518b7b59bd836597d48ec1 to your computer and use it in GitHub Desktop.
Firebase environment set with json data
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