-
Notifications
You must be signed in to change notification settings - Fork 918
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
authentication not working with google_application_credentials #4971
Comments
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information. |
setting GOOGLE_APPLICATION_CREDENTIALS to a relative directory is likely the culprite here:
You probably should set it to an absolute path, like
|
@bkendall Thank you for your answer. |
@bkendall fixed the issue
|
That'll do it! Glad you figured it out! |
a bit late to the party but I believe you have to set the environment variable a bit differently on github actions to pass the environment to next step: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable |
[REQUIRED] Environment info
firebase-tools: latest
**Platform:**CircleCI
[REQUIRED] Test case
No tests
[REQUIRED] Steps to reproduce
Create an angular node project
Download service account key from firebase project settings or cloud console
encode to base 64 and set the result as an environment variable called SERVICE_ACCOUNT ( I've logged the output of the variable and it's valid )
set this pipeline in CircleCI with this .yml file
make change to project
add/commit/push changes
[REQUIRED] Expected behavior
Deploy project to the preview channel
[REQUIRED] Actual behavior
gives me following error:
The text was updated successfully, but these errors were encountered: