fix: fetch dokku refs before force push to prevent race condition

This commit is contained in:
Graham McIntire 2026-03-07 16:10:04 -06:00
parent 01e956bf44
commit ffc937821c
No known key found for this signature in database

View file

@ -35,5 +35,6 @@ jobs:
# Clear stale deploy lock from cancelled runs
ssh dokku@204.110.191.231 apps:unlock towerops || true
git remote add dokku dokku@204.110.191.231:towerops || true
git fetch dokku || true
git push dokku main:main --force