mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
tinayuangao
parent
62d62e23c7
commit
79c9c85912
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user