Skip to content

Commit

Permalink
chore(ci): uplift env and remove firebase-service-account
Browse files Browse the repository at this point in the history
  • Loading branch information
ralacerda committed Jan 26, 2025
1 parent 7bbf30d commit 0614e66
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy_firebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env: # Or as an environment variable
GOOGLE_APPLICATION_CREDENTIALS_JSON: $HOME/firebase-service-account.json

steps:
- name: Checkout code
Expand Down Expand Up @@ -38,6 +40,10 @@ jobs:
run: echo $FIREBASE_SERVICE_ACCOUNT > $HOME/firebase-service-account.json

- name: Deploy
env: # Or as an environment variable
GOOGLE_APPLICATION_CREDENTIALS_JSON: $HOME/firebase-service-account.json
run: firebase deploy
run: firebase login
run: firebase deploy --non-interactive --debug

- name: Remove credentials file
if: success() || failure()
run: |
rm $HOME/firebase-service-account.json

0 comments on commit 0614e66

Please sign in to comment.