diff --git a/.drone.jsonnet b/.drone.jsonnet
index e8f4480..d2b803a 100644
--- a/.drone.jsonnet
+++ b/.drone.jsonnet
@@ -212,6 +212,9 @@ local PipelineNotifications = {
username: { "from_secret": "matrix_username" },
password: { "from_secret": "matrix_password" },
},
+ when: {
+ status: [ "success", "failure" ],
+ },
},
],
depends_on: [
diff --git a/.drone.yml b/.drone.yml
index a0f3cdd..e1e0765 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -346,6 +346,10 @@ steps:
template: "Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}"
username:
from_secret: matrix_username
+ when:
+ status:
+ - success
+ - failure
trigger:
ref:
@@ -362,6 +366,6 @@ depends_on:
---
kind: signature
-hmac: a407158975e2210a18ef5771030c5181418ce7aef68fd46e1e64f8bc2097a1d3
+hmac: c8a46e748269c79caf345ebfcb117a5bd78b6e62a40de8ce492a165a0fa7789d
...