Skip to content

Commit 79c9c85

Browse files
devversiontinayuangao
authored andcommitted
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.
1 parent 62d62e2 commit 79c9c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gulp/util/firebase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function openFirebaseDashboardDatabase() {
1515
client_email: 'firebase-adminsdk-ch1ob@material2-dashboard.iam.gserviceaccount.com',
1616
// In Travis CI the private key will be incorrect because the line-breaks are escaped.
1717
// The line-breaks need to persist in the service account private key.
18-
private_key: decode(process.env['MATERIAL2_FIREBASE_PRIVATE_KEY'])
18+
private_key: decode(process.env['MATERIAL2_DASHBOARD_FIREBASE_KEY'])
1919
}),
2020
databaseURL: 'https://material2-dashboard.firebaseio.com'
2121
});

0 commit comments

Comments
 (0)