Skip to content

Commit

Permalink
deploy: ok, let's try the google auth action
Browse files Browse the repository at this point in the history
  • Loading branch information
kberridge committed Jan 25, 2024
1 parent 08b7c9c commit 6248fe7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,17 @@ jobs:
deploy:
name: Deploy to Firebase
runs-on: ubuntu-latest
env:
GOOGLE_APPLICATION_CREDENTIALS: google-application-credentials.json
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Prepare Google Application Credentials
shell: bash
run: |
echo "${{ secrets.FIREBASE_SERVICE_ACCOUNT_KWBLOG_1C958 }}" | base64 --decode > "google-application-credentials.json"
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0.4.0
with:
credentials_json: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KWBLOG_1C958 }}'
- name: Deploy
shell: pwsh
run: |
Expand Down

0 comments on commit 6248fe7

Please sign in to comment.