Skip to content

Commit 27afecf

Browse files
authored
UPD: Update cd-workflow.yaml
1 parent 565ac4d commit 27afecf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ jobs:
8686
- name: Checkout Repository
8787
uses: actions/checkout@v4
8888

89+
- name: Authenticate to Google Cloud
90+
id: auth
91+
uses: google-github-actions/auth@v2
92+
with:
93+
create_credentials_file: true
94+
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
95+
service_account: ${{ secrets.GCP_DEPLOY_SA }}
96+
8997
- name: Deploy to Cloud Run
9098
id: deploy
9199
uses: google-github-actions/deploy-cloudrun@v2

0 commit comments

Comments
 (0)