ci: Actually run rollback when deployment fails

This commit is contained in:
SebastianStork 2026-03-06 19:12:39 +01:00
parent 09e9cd5811
commit bb91a08de1
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q

View file

@ -118,7 +118,7 @@ jobs:
sleep 5 sleep 5
done done
rollback-deploy: rollback-deploy:
if: needs.await-deploy.result == 'failure' if: always() && needs.await-deploy.result == 'failure'
needs: [trigger-deploy, await-deploy] needs: [trigger-deploy, await-deploy]
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions: