-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Deploy not working with service account in github actions #3260
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
zal1000
added a commit
to zal1000/angularfire
that referenced
this issue
Aug 20, 2022
Deploying with service account was not possible, becouse no checks were made for GOOGLE_APPLICATION_CREDENTIALS env variable Fixes angular#3260
zal1000
added a commit
to zal1000/angularfire
that referenced
this issue
Aug 20, 2022
Service account was not activated before deploying Fixes angular#3260
Working in @angular/fire@7.6.1 & firebase-tools@12.3.0:
- id: auth
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PROJECT_XYZ }}
token_format: access_token
- run: ng deploy
env:
FIREBASE_TOKEN: ${{ steps.auth.outputs.access_token }}
![]() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version info
Angular: 14.1.0
AngularFire: 7.4.1
Firebase CLI: Latest being downloaded every time by the actions runner
How to reproduce these conditions
Steps to set up and reproduce
Running the build in a github actions runner with service account exits because the CLI is not signed in
Expected behavior
The application being built and deployed
Actual behavior
The deploy command exits before building the app
The text was updated successfully, but these errors were encountered: