How to get notifications working, when previous step fails

Hi,

I was trying to find a solution for many hours, but wihout any luck… maybe my google-fo is not working today as should.

Here is .drone.yml - https://pastebin.com/s77FuT6d

But when step test fails, notification is skipped… any ideas? :slight_smile:

Have you found a solution?

Sorry, but actually not :frowning:

You can use the when stanza to configure a step to run on success, failure or both [1]

Execute a step on success or failure:

when:
  status:
  - success
  - failure

[1] https://docs.drone.io/pipeline/docker/syntax/conditions/#by-status