Skip to content

Commit 9b2554c

Browse files
committed
Add GCP Authentication and switch to Vertex AI mode for updater workflow
1 parent e4f1c85 commit 9b2554c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-python-docs.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
with:
3333
python-version: '3.11'
3434

35+
- name: Authenticate to Google Cloud
36+
id: auth
37+
uses: 'google-github-actions/auth@v2'
38+
with:
39+
credentials_json: '${{ secrets.ADK_GCP_SA_KEY }}'
40+
3541
- name: Install dependencies
3642
run: |
3743
python -m pip install --upgrade pip
@@ -40,7 +46,6 @@ jobs:
4046
- name: Run ADK docs updater script
4147
env:
4248
GITHUB_TOKEN: ${{ secrets.ADK_BOT_GITHUB_TOKEN }}
43-
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
4449
GOOGLE_CLOUD_PROJECT: ${{ secrets.GOOGLE_CLOUD_PROJECT }}
4550
GOOGLE_CLOUD_LOCATION: ${{ secrets.GOOGLE_CLOUD_LOCATION }}
4651
GOOGLE_GENAI_USE_VERTEXAI: 1

0 commit comments

Comments
 (0)