From ea514089db91c8f324d18c9d0c2dbc652fbd2a8e Mon Sep 17 00:00:00 2001 From: Mentor Date: Thu, 9 Jun 2022 09:56:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20google=20cloud=20changed=20auth?= =?UTF-8?q?=20and=20setup=20syntax=20for=20reasons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-functions.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-functions.yml b/.github/workflows/deploy-functions.yml index 158996c..d731484 100644 --- a/.github/workflows/deploy-functions.yml +++ b/.github/workflows/deploy-functions.yml @@ -36,11 +36,12 @@ jobs: working-directory: functions # Backup firestore before deploying to database - - name: 'Set up gcloud cli' - uses: google-github-actions/setup-gcloud@master + - id: 'auth' + uses: 'google-github-actions/auth@v0' with: - service_account_key: "${{ secrets.GCP_SERVICE_ACCOUT_JSON_PRODUCTION }}" - export_default_credentials: true + credentials_json: '${{ secrets.GCP_SERVICE_ACCOUT_JSON_PRODUCTION }}' + - name: 'Set up Cloud SDK' + uses: 'google-github-actions/setup-gcloud@v0' # Note to self: needs IAM permissions # see https://firebase.google.com/docs/firestore/manage-data/export-import