Skip to content

Commit

Permalink
chore: use action to authenticate with firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ralacerda committed Jan 29, 2025
1 parent 96dfded commit 71d9aef
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy_firebase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ jobs:
- name: Install firebase-tools
run: pnpm install -g firebase-tools

- name: Authenticate with Firebase
uses: google-github-actions/auth@v2
with:
credentials_json: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEBSITE_RALACERDA }}"

- name: Deploy
env: # Or as an environment variable
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: firebase deploy --token "$FIREBASE_TOKEN"
run: firebase deploy

0 comments on commit 71d9aef

Please sign in to comment.