Skip to content

Commit

Permalink
chore: improve backup filename and timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Oct 18, 2024
1 parent 9b696d5 commit ed85fd2
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 @@ -18,7 +18,7 @@ jobs:

- name: Filename
run: |
echo "file_name=$(date -u +'%Y-%m-%d-%H-%M-%S').sql.gz" >> $GITHUB_ENV
echo "file_name=$(TZ=":America/New_York" date +'%B-%d-%Y-%I-%M-%S-%p').sql.gz" >> $GITHUB_ENV
echo "${{ env.file_name }}"
- name: Dump database
Expand Down

0 comments on commit ed85fd2

Please sign in to comment.