Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Cloud Build unable to deploy only hosting #45

Open
polds opened this issue Sep 4, 2023 · 0 comments
Open

Google Cloud Build unable to deploy only hosting #45

polds opened this issue Sep 4, 2023 · 0 comments

Comments

@polds
Copy link

polds commented Sep 4, 2023

I am trying to use Google Cloud Build to execute firebase deploy --only=hosting and am getting the below error.

I am presently pinned to a slightly older version 12.1.0 but am still encountering this error.

⚠  Authenticating with `--token` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`: https://cloud.google.com/docs/authentication/getting-started
⚠  Unable to fetch the CLI MOTD and remote config.

=== Deploying to '<redacted project_id>'...

i  deploying hosting

Error: An unexpected error has occurred.
┌───────────────────────────────────────────────────────────┐
│            firebase-tools update check failed             │
│            Try running with sudo or get access            │
│           to the local update config store via            │
│ sudo chown -R $USER:$(id -gn $USER) /builder/home/.config │
└───────────────────────────────────────────────────────────┘

Error: An unexpected error has occurred.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant