Skip to content

Commit

Permalink
chore: work on new backup job
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Oct 18, 2024
1 parent 5c84fd7 commit 9eac2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: echo "TIMESTAMP=$(date -u +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_ENV

- name: Dump database
run: pg_dump postgresql://${{ DB_USER }}:${{ DB_PASSWORD }}@${{ DB_HOST_PUBLIC }}:5432/beep | gzip > $(date -u +'%Y-%m-%d-%H-%M-%S').sql.gz
run: pg_dump postgresql://${{ env.DB_USER }}:${{ env.DB_PASSWORD }}@${{ env.DB_HOST_PUBLIC }}:5432/beep | gzip > $(date -u +'%Y-%m-%d-%H-%M-%S').sql.gz
env:
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
Expand Down

0 comments on commit 9eac2f1

Please sign in to comment.