Skip to content

Commit

Permalink
Add action auth for cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Paloma Oliveira authored May 2, 2024
1 parent d351846 commit 67f4b11
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,17 @@ jobs:
with:
python-version: 3.7
- run: pip install crcmod

- id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: ${{ secrets.RUN_PROJECT_PROD }}
service_account: ${{ secrets.RUN_SA_KEY_PROD }}

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
with:
version: '>= 290.0.1'
project_id: ${{ secrets.RUN_PROJECT_PROD }}
service_account_key: ${{ secrets.RUN_SA_KEY_PROD }}
# - uses: actions/cache@v2
# id: cache-build
# with:
# path: |
# build
# key: ${{ runner.os }}-${{ github.sha }}

- name: Install Dependencies
# if: steps.cache-build.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 67f4b11

Please sign in to comment.