Skip to content

Commit

Permalink
Add google auth
Browse files Browse the repository at this point in the history
  • Loading branch information
cortinico committed Mar 21, 2024
1 parent eddf839 commit 606aa46
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
node-version: 18
- name: Create temp serviceAccount.json
run: echo "{}" > serviceAccount.json
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/[email protected]"
with:
credentials_json: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
- run: npm ci
- run: npm run build
- uses: w9jds/firebase-action@master
with:
args: deploy --debug
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
- run: npm run deploy

0 comments on commit 606aa46

Please sign in to comment.