Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
👷 Use pushed_at instead of updated_at
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Jun 11, 2023
1 parent 138167a commit fe656fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
run: ssh mars "sudo systemctl stop blitz-tanks"

- name: 📦 Archive the database
run: ssh mars "ZST_CLEVEL=10 tar -Izstd -cvf .blitz-tanks/backups/${{ github.event.repository.updated_at }}.tar.zstd .blitz-tanks/db.sled"
run: ssh mars "ZST_CLEVEL=10 tar -Izstd -cvf .blitz-tanks/backups/${{ github.event.repository.pushed_at }}.tar.zstd .blitz-tanks/db.sled"

- name: 🏁 Start
run: ssh mars "sudo systemctl start blitz-tanks; systemctl status --lines=0 blitz-tanks"

0 comments on commit fe656fe

Please sign in to comment.