We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89fd6e9 commit 1bce66cCopy full SHA for 1bce66c
src/schematics/deploy/actions.ts
@@ -388,12 +388,16 @@ export default async function deploy(
388
options: DeployBuilderOptions,
389
firebaseToken?: string,
390
) {
391
- if (!firebaseToken) {
+ if (!firebaseToken && !process.env.GOOGLE_APPLICATION_CREDENTIALS) {
392
await firebaseTools.login();
393
const user = await firebaseTools.login({ projectRoot: context.workspaceRoot });
394
console.log(`Logged into Firebase as ${user.email}.`);
395
}
396
397
+ if(process.env.GOOGLE_APPLICATION_CREDENTIALS) {
398
+ console.log(`Using Google Application Credentials.`);
399
+ }
400
+
401
if (prerenderBuildTarget) {
402
403
const run = await context.scheduleTarget(
0 commit comments