Skip to content

Commit e27d254

Browse files
leomp12claude
andcommitted
fix(cli): Enable Cloud Billing API before first Firebase deploy
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2fc70ef commit e27d254

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/cli/src/setup-gcloud.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const ensureGcfArtifactsRepo = async (
7979
location = process.env.DEPLOY_REGION || 'us-east4',
8080
) => {
8181
$.verbose = true;
82+
await $`gcloud services enable cloudbilling.googleapis.com --project=${projectId}`;
8283
try {
8384
await $`gcloud artifacts repositories describe gcf-artifacts \
8485
--location=${location} --project=${projectId}`;

0 commit comments

Comments
 (0)