diff --git a/.drone.jsonnet b/.drone.jsonnet
index 3726d39..3535b8c 100644
--- a/.drone.jsonnet
+++ b/.drone.jsonnet
@@ -365,7 +365,7 @@ local PipelineNotifications = {
settings: {
homeserver: { from_secret: 'matrix_homeserver' },
roomid: { from_secret: 'matrix_roomid' },
- template: 'Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}
Message: {{ commit.Message }}',
+ template: 'Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}
Message: {{ commit.Message.Title }}',
username: { from_secret: 'matrix_username' },
password: { from_secret: 'matrix_password' },
},
diff --git a/.drone.yml b/.drone.yml
index 91d7d61..b8c2671 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -505,7 +505,7 @@ steps:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
- template: "Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}
Message: {{ commit.Message }}"
+ template: "Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}
Message: {{ commit.Message.Title }}"
username:
from_secret: matrix_username
when:
@@ -529,6 +529,6 @@ depends_on:
---
kind: signature
-hmac: d62b891b4cb69d1baacd07fec21ffd26dcc5ee2c33b209f167438e48afc5ee8a
+hmac: 9f505386f16ced4c916af44fb4a709a49ec43a4195fa74550dbf1ebb62e6c9d8
...