Skip to content

Commit

Permalink
Auth fix (#668)
Browse files Browse the repository at this point in the history
* Update deploy.yml

* try other auth approach
  • Loading branch information
internot169 committed Aug 28, 2024
1 parent 6a7552d commit 5f796da
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8

- uses: 'google-github-actions/auth@v2'
with:
credentials_json: ${{secrets.GCP_SERVICE_ACCOUNT}}

#- uses: 'google-github-actions/auth@v2'
# with:
# credentials_json: ${{secrets.GCP_SERVICE_ACCOUNT}}

- name: Authenticate Google Cloud
run: gcloud auth activate-service-account --key-file=${{secrets.GCP_SERVICE_ACCOUNT}}

# Setup and configure gcloud CLI
- uses: google-github-actions/setup-gcloud@v2
Expand Down

0 comments on commit 5f796da

Please sign in to comment.