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