From 775986e9389deb7054cae0515dd96d21ec3e9cd4 Mon Sep 17 00:00:00 2001 From: John Marshall Date: Mon, 18 Sep 2023 22:11:09 +1200 Subject: [PATCH] setup-gcloud@v1 needs a separate gga/auth action Moving from v0 to v1 in PR #520 removed the deprecated service_account_key option, so we need to recode using google-github-actions/auth. --- .github/workflows/deploy.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 997b1129d..b1c94b40c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -23,11 +23,15 @@ jobs: steps: - uses: actions/checkout@v3 + - name: "gcloud auth" + uses: google-github-actions/auth@v1 + with: + credentials_json: '${{ secrets.GCP_SERVER_DEPLOY_KEY }}' + - name: "gcloud setup" uses: google-github-actions/setup-gcloud@v1 with: project_id: sample-metadata - service_account_key: ${{ secrets.GCP_SERVER_DEPLOY_KEY }} - name: "gcloud docker auth" run: |