Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 0f67900

Browse files
fix: scope github actions backup
avoid running this job in forked repo
1 parent 48c4e64 commit 0f67900

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/backup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
with:
1717
service_account_key: ${{ secrets.FIRESTORE_BACKUP_TOKEN }}
1818
export_default_credentials: true
19+
if: github.repository == 'deckgo/deckdeckgo'
1920
- run: gcloud info
2021
- run: gcloud config set project $PROJECT_ID
2122
- run: gcloud firestore export $BUCKET

0 commit comments

Comments
 (0)