Skip to content

Commit

Permalink
Fix upload-db-dump action script
Browse files Browse the repository at this point in the history
It just failed:

    Run git checkout db-dumps
    error: Your local changes to the following files would be overwritten by checkout:
	    util/dev-config/config.toml
    Please commit your changes or stash them before you switch branches.

Well, I still haven't tested this, so we will see during the next
release :P
  • Loading branch information
LukasKalbertodt committed Sep 13, 2023
1 parent 9ed00ea commit 06109c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/upload-db-dump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
# the dump is 2MB, this "waste" of storage and bandwidth is miniscule.
- name: Commit & push
run: |
git reset --hard HEAD
git checkout db-dumps
cp db-dump.xz db-dump-latest.xz
mv db-dump.xz db-dump-${{github.ref_name}}.xz
Expand Down

0 comments on commit 06109c1

Please sign in to comment.