fix: fetch dokku refs before force push to prevent race condition
This commit is contained in:
parent
01e956bf44
commit
ffc937821c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue