File tree
Expand file treeCollapse file tree1 file changed
+5
-1
lines changed Expand file treeCollapse file tree1 file changed
+5
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -388,12 +388,16 @@ export default async function deploy(
|
388 | 388 | options: DeployBuilderOptions,
|
389 | 389 | firebaseToken?: string,
|
390 | 390 | ) {
|
391 |
| -if (!firebaseToken) { |
| 391 | +if (!firebaseToken && !process.env.GOOGLE_APPLICATION_CREDENTIALS) { |
392 | 392 | await firebaseTools.login();
|
393 | 393 | const user = await firebaseTools.login({ projectRoot: context.workspaceRoot });
|
394 | 394 | console.log(`Logged into Firebase as ${user.email}.`);
|
395 | 395 | }
|
396 | 396 |
|
| 397 | +if(process.env.GOOGLE_APPLICATION_CREDENTIALS) { |
| 398 | +console.log(`Using Google Application Credentials.`); |
| 399 | +} |
| 400 | + |
397 | 401 | if (prerenderBuildTarget) {
|
398 | 402 |
|
399 | 403 | const run = await context.scheduleTarget(
|
|
You can’t perform that action at this time.
0 commit comments