[build][ci] update env service account
This commit is contained in:
parent
ffe0008c2e
commit
ac79ceaaa1
|
@ -86,7 +86,6 @@ defaults: &defaults
|
||||||
working_directory: ~/react-native-firebase
|
working_directory: ~/react-native-firebase
|
||||||
environment:
|
environment:
|
||||||
- GIT_COMMIT_DESC: git log --format=oneline -n 1 $CIRCLE_SHA1
|
- GIT_COMMIT_DESC: git log --format=oneline -n 1 $CIRCLE_SHA1
|
||||||
- FB_ADMIN_SERVICE_ACCOUNT: $FIREBASE_SERVICE_ACCOUNT
|
|
||||||
|
|
||||||
# JAVASCRIPT
|
# JAVASCRIPT
|
||||||
js_defaults: &js_defaults
|
js_defaults: &js_defaults
|
||||||
|
|
|
@ -76,7 +76,7 @@ global.firebaseAdmin = require('firebase-admin');
|
||||||
|
|
||||||
firebaseAdmin.initializeApp({
|
firebaseAdmin.initializeApp({
|
||||||
credential: firebaseAdmin.credential.cert(
|
credential: firebaseAdmin.credential.cert(
|
||||||
JSON.parse(process.env.FB_ADMIN_SERVICE_ACCOUNT)
|
JSON.parse(process.env.FIREBASE_SERVICE_ACCOUNT)
|
||||||
),
|
),
|
||||||
databaseURL: 'https://rnfirebase-b9ad4.firebaseio.com',
|
databaseURL: 'https://rnfirebase-b9ad4.firebaseio.com',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue