mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: switch to new dashboard firebase instance (#4954)
* Switches to a new Firebase instance for the Dashboard.
This commit is contained in:
committed by
Andrew Seguin
parent
cebb516e93
commit
7af93bc5e3
@@ -13,7 +13,7 @@ cd ${dashboardFolder}
|
||||
# before it can collect all functions and deploy them.
|
||||
(cd functions; npm install)
|
||||
|
||||
if [ -z ${MATERIAL2_DASHBOARD_ACCESS_TOKEN} ]; then
|
||||
if [ -z ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} ]; then
|
||||
echo "Error: No access token for firebase specified." \
|
||||
"Please set the environment variable 'MATERIAL2_DASHBOARD_ACCESS_TOKEN'."
|
||||
exit 1
|
||||
@@ -21,4 +21,4 @@ fi
|
||||
|
||||
# Deploy the dashboard functions to Firebase. For now only the functions will be deployed.
|
||||
$(npm bin)/firebase deploy \
|
||||
--only functions --token ${MATERIAL2_DASHBOARD_ACCESS_TOKEN} --project material2-dashboard
|
||||
--only functions --token ${MATERIAL2_BOARD_FIREBASE_DEPLOY_KEY} --project material2-board
|
||||
|
||||
Reference in New Issue
Block a user