From dbe14e40ecf21b86313e66269f2383af9e7f742c Mon Sep 17 00:00:00 2001
From: mitch1024 <156652908+mitch1024@users.noreply.github.com>
Date: Mon, 3 Jun 2024 11:52:24 +0800
Subject: [PATCH] Update deploy-docs.yml

---
 .github/workflows/deploy-docs.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml
index d5a3f35ad..557f3521c 100644
--- a/.github/workflows/deploy-docs.yml
+++ b/.github/workflows/deploy-docs.yml
@@ -44,11 +44,10 @@ jobs:
     # Configure Workload Identity Federation and generate an access token.
     - id: 'auth'
       name: 'Authenticate to Google Cloud'
-      uses: 'google-github-actions/auth@v0'
+      uses: 'google-github-actions/auth@v2'
       with:
-        token_format: 'access_token'
+        project_id: $GKE_PROJECT_ID
         workload_identity_provider: $GCP_WIP
-        service_account: $GCP_SA
 
     # Alternative option - authentication via credentials json
     # - id: 'auth'