mirror of
https://github.com/spritsail/alpine.git
synced 2024-12-20 11:34:36 +00:00
Attempt to run notify on failure
This commit is contained in:
parent
67d0500768
commit
6d1a483ead
@ -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" ],
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user