💚 google cloud changed auth and setup syntax for reasons

This commit is contained in:
Mentor 2022-06-09 09:56:45 +02:00
parent 2db757e2f4
commit ea514089db

View File

@ -36,11 +36,12 @@ jobs:
working-directory: functions working-directory: functions
# Backup firestore before deploying to database # Backup firestore before deploying to database
- name: 'Set up gcloud cli' - id: 'auth'
uses: google-github-actions/setup-gcloud@master uses: 'google-github-actions/auth@v0'
with: with:
service_account_key: "${{ secrets.GCP_SERVICE_ACCOUT_JSON_PRODUCTION }}" credentials_json: '${{ secrets.GCP_SERVICE_ACCOUT_JSON_PRODUCTION }}'
export_default_credentials: true - name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v0'
# Note to self: needs IAM permissions # Note to self: needs IAM permissions
# see https://firebase.google.com/docs/firestore/manage-data/export-import # see https://firebase.google.com/docs/firestore/manage-data/export-import