mirror of
https://github.com/stronk-dev/RandomChad.git
synced 2025-07-05 02:35:08 +02:00
💚 google cloud changed auth and setup syntax for reasons
This commit is contained in:
parent
2db757e2f4
commit
ea514089db
9
.github/workflows/deploy-functions.yml
vendored
9
.github/workflows/deploy-functions.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user