From 6d1a483eaded19ceaf255dd3473f307d18016f27 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sun, 5 Jan 2020 19:25:30 +0000 Subject: [PATCH] Attempt to run notify on failure --- .drone.star | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.star b/.drone.star index e5faba2..e09691f 100644 --- a/.drone.star +++ b/.drone.star @@ -63,6 +63,9 @@ def notify(versions): "kind": "pipeline", "name": "notify", "depends_on": versions, + "when": { + "status": [ "success", "failure" ], + }, "steps": [ { "name": "notify", @@ -75,9 +78,6 @@ def notify(versions): "from_secret": "notify_token", }, }, - "when": { - "status": [ "success", "failure" ], - }, }, ], }