Skip to content

Commit

Permalink
Update production-db-backup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqw-333 authored Nov 24, 2024
1 parent 5c9761a commit f1cec49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/production-db-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ jobs:
env:
TODAY: ${{ steps.set-date.outputs.date }}
run: |
mongodump --out=backup-$DB_SOURCE-$TODAY --uri="$DB_SOURCE_URL" -d $DB_SOURCE
mongodump \
--out=backup-$DB_SOURCE-$TODAY \
--uri="$DB_SOURCE_URL" \
-d $DB_SOURCE
- name: Restore Dump to MongoDB Atlas Test Cluster
env:
Expand Down

0 comments on commit f1cec49

Please sign in to comment.