[build][ci] update env service account

This commit is contained in:
Salakar 2018-09-03 21:33:19 +01:00
parent ffe0008c2e
commit ac79ceaaa1
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ defaults: &defaults
working_directory: ~/react-native-firebase
environment:
- GIT_COMMIT_DESC: git log --format=oneline -n 1 $CIRCLE_SHA1
- FB_ADMIN_SERVICE_ACCOUNT: $FIREBASE_SERVICE_ACCOUNT
# JAVASCRIPT
js_defaults: &js_defaults

View File

@ -76,7 +76,7 @@ global.firebaseAdmin = require('firebase-admin');
firebaseAdmin.initializeApp({
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',
});