mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 13:09:08 +01:00
ci: Actually run rollback when deployment fails
This commit is contained in:
parent
09e9cd5811
commit
bb91a08de1
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -118,7 +118,7 @@ jobs:
|
|||
sleep 5
|
||||
done
|
||||
rollback-deploy:
|
||||
if: needs.await-deploy.result == 'failure'
|
||||
if: always() && needs.await-deploy.result == 'failure'
|
||||
needs: [trigger-deploy, await-deploy]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue