Skip to content

Commit 3f82be1

Browse files
authored
Switch to pull non-secret values from env (#314)
1 parent 1ef97bc commit 3f82be1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cleanup.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818

1919
- uses: 'google-github-actions/auth@main'
2020
with:
21-
workload_identity_provider: '${{ secrets.WIF_PROVIDER_NAME }}'
22-
service_account: '${{ secrets.SERVICE_ACCOUNT_EMAIL }}'
21+
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
22+
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
2323

2424
- uses: 'google-github-actions/setup-gcloud@main'
2525

2626
- name: Delete services
2727
run: |-
28-
gcloud config set core/project "${{ secrets.PROJECT_ID }}"
28+
gcloud config set core/project "${{ vars.PROJECT_ID }}"
2929
3030
# List and delete all versions that were deployed 30 minutes ago or
3131
# earlier. The date math here is a little weird, but we're looking for

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333

3434
- uses: 'google-github-actions/auth@main'
3535
with:
36-
workload_identity_provider: '${{ secrets.WIF_PROVIDER_NAME }}'
37-
service_account: '${{ secrets.SERVICE_ACCOUNT_EMAIL }}'
36+
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
37+
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
3838

3939
- name: 'Update app.yaml'
4040
run: |-

0 commit comments

Comments
 (0)