Skip to content

Commit d4fd11a

Browse files
committed
removed previous workflow
1 parent 4ff9210 commit d4fd11a

2 files changed

Lines changed: 9 additions & 29 deletions

File tree

.github/workflows/github-actions-demo.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/google-cloudrun-source.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ jobs:
6767
- name: Checkout
6868
uses: actions/checkout@v2
6969

70-
- name: Google Auth
71-
id: auth
72-
uses: 'google-github-actions/auth@v0'
73-
with:
74-
workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
75-
service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}' # e.g. - my-service-account@my-project.iam.gserviceaccount.com
76-
77-
# NOTE: Alternative option - authentication via credentials json
7870
# - name: Google Auth
7971
# id: auth
8072
# uses: 'google-github-actions/auth@v0'
8173
# with:
82-
# credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
74+
# workload_identity_provider: '${{ secrets.WIF_PROVIDER }}' # e.g. - projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider
75+
# service_account: '${{ secrets.WIF_SERVICE_ACCOUNT }}' # e.g. - my-service-account@my-project.iam.gserviceaccount.com
76+
77+
NOTE: Alternative option - authentication via credentials json
78+
- name: Google Auth
79+
id: auth
80+
uses: 'google-github-actions/auth@v0'
81+
with:
82+
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
8383

8484
- name: Deploy to Cloud Run
8585
id: deploy

0 commit comments

Comments
 (0)