-
Hi, I have this workflow for rolling back a kubernetes deployment if the integration tests fail:
but it always ignores the rollback step, even if the integration tests fail… What am I missing? I’ve also tried the conclusion keyword and wrapping the expression in ${{ }} but nothing works! Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Hello @obvionaoe , |
Beta Was this translation helpful? Give feedback.
-
Take a look at the Job status check functions, in particular this note:
So you should probably do something like this, to check both for failure in general and the specific step that failed:
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, that fixed it! |
Beta Was this translation helpful? Give feedback.
Hello @obvionaoe ,
You may try to add
continue-on-error: true
to ‘Integration Tests’ step: it makes the workflow continue if that step fails.