1.3.9 • Published 5 years ago
firebase-functions-yaml-config v1.3.9
Firebase Functions YAML Config
Use YAML to configure your environment variables in Firebase Functions
Features:
- Set either default values, or by environment
- Read from both environment variables and static values
- Use templated names for your environment variables
Examples:
Your configuration file (config.yaml)
default:
hello:
world: Hello, World!
username: $HELLO_USERNAME
password: $HELLO_PASSWORD_ENV
say:
yes: true
ci:
service1:
username: service1-ci
prod:
service1:
username: service1-prod
Configure your CI environment using command:
firebase-functions-yaml-config config.yaml ci
which in turn will execute:
firebase functions:config:set hello.world='Hello, World!'
firebase functions:config:set hello.username=$HELLO_USERNAME
firebase functions:config:set hello.password=$HELLO_PASSWORD_CI
firebase functions:config:set say.yes=true
firebase functions:config:set service1.username='service1-ci'
Then for PROD
firebase-functions-yaml-config config.yaml prod
==>
firebase functions:config:set hello.world='Hello, World!'
firebase functions:config:set hello.username=$HELLO_USERNAME
firebase functions:config:set hello.password=$HELLO_PASSWORD_PROD
firebase functions:config:set say.yes=true
firebase functions:config:set service1.username='service1-prod'
1.3.9
5 years ago
1.3.7
5 years ago
1.3.6
5 years ago
1.3.8
5 years ago
1.3.5
5 years ago
1.3.4
5 years ago
1.3.3
5 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.8
7 years ago
1.2.7
7 years ago
1.2.6
7 years ago
1.2.5
7 years ago
1.2.4
7 years ago
1.2.3
7 years ago
1.2.2
7 years ago
1.2.1
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago