From fcfe3177eb25dc59277360dba49033db1b9357d6 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Thu, 21 Sep 2023 11:42:53 +0400 Subject: [PATCH] Update firebase-backup.yml (#932) * Update firebase-backup.yml * Update firebase-backup.yml * Update firebase-backup.yml --- .github/workflows/firebase-backup.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/firebase-backup.yml b/.github/workflows/firebase-backup.yml index e921bc3cc..ea86f02fe 100644 --- a/.github/workflows/firebase-backup.yml +++ b/.github/workflows/firebase-backup.yml @@ -1,14 +1,21 @@ +name: Firestore backup + on: schedule: - - cron: "*/15 * * * *" -name: Firestore backup + - cron: "0 1 * * *" + jobs: backup: runs-on: ubuntu-latest + steps: - - uses: lfdm/firestore-backup-gh-action + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Firestore backup + uses: lfdm/firestore-backup-gh-action@v1 with: gcloudAuth: ${{ secrets.FIREBASE_BACKUP_GCLOUD_AUTH }} projectId: ${{ secrets.gcloud_project_id }} storageBucket: gs://astarnetwork-a4924.appspot.com - collectionIds: + collectionIds: "*"