1.3.9 • Published 4 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
4 years ago
1.3.7
4 years ago
1.3.6
4 years ago
1.3.8
4 years ago
1.3.5
4 years ago
1.3.4
4 years ago
1.3.3
4 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.8
6 years ago
1.2.7
6 years ago
1.2.6
6 years ago
1.2.5
6 years ago
1.2.4
6 years ago
1.2.3
6 years ago
1.2.2
6 years ago
1.2.1
6 years ago
1.2.0
6 years ago
1.1.0
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago