Skip to content

Commit 1bf36fe

Browse files
s
1 parent 24d52b2 commit 1bf36fe

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/scratch-workflow.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111
environment: staging
1212
steps:
13-
- run: echo "Hello, world!"
13+
# - name: 'Checkout'
14+
# uses: 'actions/checkout@v3'
15+
# with:
16+
# submodules: "true"
1417

1518
- name: Print environment variable
1619
env:
1720
NEXT_PUBLIC_SOURCEBOT_CLOUD_ENVIRONMENT: ${{ vars.NEXT_PUBLIC_SOURCEBOT_CLOUD_ENVIRONMENT }}
1821
run: echo $NEXT_PUBLIC_SOURCEBOT_CLOUD_ENVIRONMENT
22+
23+
# @see: https://github.com/google-github-actions/auth?tab=readme-ov-file#direct-wif
24+
- name: 'Google auth'
25+
id: 'auth'
26+
uses: 'google-github-actions/auth@v2'
27+
with:
28+
project_id: '${{ secrets.GCP_PROJECT_ID }}'
29+
workload_identity_provider: '${{ secrets.GCP_WIF_PROVIDER }}'

0 commit comments

Comments
 (0)