From 5f796da4cd784d178fd454f1a6159486730bc0b2 Mon Sep 17 00:00:00 2001 From: Angad Singh Josan <97420031+internot169@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:05:06 -0700 Subject: [PATCH] Auth fix (#668) * Update deploy.yml * try other auth approach --- .github/workflows/deploy.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3675597..027a394 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,10 +17,13 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.8 - - - uses: 'google-github-actions/auth@v2' - with: - credentials_json: ${{secrets.GCP_SERVICE_ACCOUNT}} + + #- uses: 'google-github-actions/auth@v2' + # with: + # credentials_json: ${{secrets.GCP_SERVICE_ACCOUNT}} + + - name: Authenticate Google Cloud + run: gcloud auth activate-service-account --key-file=${{secrets.GCP_SERVICE_ACCOUNT}} # Setup and configure gcloud CLI - uses: google-github-actions/setup-gcloud@v2