From 5c60015f19200b9a11e5a7045f9e1aae57ab814a Mon Sep 17 00:00:00 2001 From: Clayton Smith Date: Wed, 12 Jun 2024 20:30:51 -0400 Subject: [PATCH] build test --- .github/workflows/deploy_backend.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_backend.yml b/.github/workflows/deploy_backend.yml index d4ee46df6f..ce2242b3d1 100644 --- a/.github/workflows/deploy_backend.yml +++ b/.github/workflows/deploy_backend.yml @@ -17,6 +17,9 @@ jobs: deploy: runs-on: ubuntu-latest # needs: build-and-push-backend-image + permissions: + contents: 'read' + id-token: 'write' steps: # - name: Checkout code @@ -25,7 +28,7 @@ jobs: # - name: Authenticate to Google Cloud # run: echo "${{ secrets.GCP_SA_KEY_BASE64 }}" | base64 --decode > /tmp/gcp_sa_key.json && gcloud auth activate-service-account --key-file=/tmp/gcp_sa_key.json && gcloud config set project && rm /tmp/gcp_sa_key.json - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v1 + uses: google-github-actions/setup-gcloud@v2 with: service_account_key: ${{ secrets.GCP_SA_KEY }}