2
0
mirror of https://github.com/spritsail/alpine.git synced 2024-07-11 08:06:12 +00:00

Attempt to run notify on failure

This commit is contained in:
Joe Groocock 2020-01-05 19:25:30 +00:00
parent 67d0500768
commit 6d1a483ead
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -63,6 +63,9 @@ def notify(versions):
"kind": "pipeline", "kind": "pipeline",
"name": "notify", "name": "notify",
"depends_on": versions, "depends_on": versions,
"when": {
"status": [ "success", "failure" ],
},
"steps": [ "steps": [
{ {
"name": "notify", "name": "notify",
@ -75,9 +78,6 @@ def notify(versions):
"from_secret": "notify_token", "from_secret": "notify_token",
}, },
}, },
"when": {
"status": [ "success", "failure" ],
},
}, },
], ],
} }