Skip to content

Commit

Permalink
Use auth to authenticate calls
Browse files Browse the repository at this point in the history
  • Loading branch information
JlUgia committed Jan 18, 2024
1 parent 0c7acc4 commit 357dfe7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: 'Auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- name: Use Google Cloud CLI
uses: google-github-actions/setup-gcloud@v2
with:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_email: ${{ secrets.GCP_SA_EMAIL }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
- name: Install dependencies
run: npm install
- name: Build
Expand Down

0 comments on commit 357dfe7

Please sign in to comment.