File tree
Expand file treeCollapse file tree1 file changed
+2
-1
lines changed Expand file treeCollapse file tree1 file changed
+2
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -394,7 +394,8 @@ export default async function deploy(
|
394 | 394 | console.log(`Logged into Firebase as ${user.email}.`);
|
395 | 395 | }
|
396 | 396 |
|
397 |
| -if(process.env.GOOGLE_APPLICATION_CREDENTIALS) { |
| 397 | +if(!firebaseToken && process.env.GOOGLE_APPLICATION_CREDENTIALS) { |
| 398 | +await spawnAsync(`gcloud auth activate-service-account --key-file ${process.env.GOOGLE_APPLICATION_CREDENTIALS}`); |
398 | 399 | console.log(`Using Google Application Credentials.`);
|
399 | 400 | }
|
400 | 401 |
|
|
You can’t perform that action at this time.
0 commit comments