From 79c9c85912edaffa7ae9223b080edbf02a8e844c Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Tue, 23 May 2017 22:56:07 +0200 Subject: [PATCH] build: better naming for firebase token (#4742) Changes the `MATERIAL2_FIREBASE_PRIVATE_KEY` to `MATERIAL2_DASHBOARD_FIREBASE_KEY` because it's confusing to just say that its for firebase. Giving it a more explicit token as same as with the screenshots ensures that we have a structured & clean list of tokens in our CI settings. --- tools/gulp/util/firebase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gulp/util/firebase.ts b/tools/gulp/util/firebase.ts index bf29839c0cb..1c8cf5e58e8 100644 --- a/tools/gulp/util/firebase.ts +++ b/tools/gulp/util/firebase.ts @@ -15,7 +15,7 @@ export function openFirebaseDashboardDatabase() { client_email: 'firebase-adminsdk-ch1ob@material2-dashboard.iam.gserviceaccount.com', // In Travis CI the private key will be incorrect because the line-breaks are escaped. // The line-breaks need to persist in the service account private key. - private_key: decode(process.env['MATERIAL2_FIREBASE_PRIVATE_KEY']) + private_key: decode(process.env['MATERIAL2_DASHBOARD_FIREBASE_KEY']) }), databaseURL: 'https://material2-dashboard.firebaseio.com' });