diff --git a/.drone.jsonnet b/.drone.jsonnet
index 502609d..bf6e5ab 100644
--- a/.drone.jsonnet
+++ b/.drone.jsonnet
@@ -136,7 +136,7 @@ local PipelineNotification = {
settings: {
homeserver: { from_secret: 'matrix_homeserver' },
roomid: { from_secret: 'matrix_roomid' },
- template: 'Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}
Message: {{ commit.Message.Title }}',
+ template: 'Status: **{{ .Build.Status }}**
Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} 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 6b94cb1..d8f0bef 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -130,7 +130,7 @@ steps:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
- template: "Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}
Message: {{ commit.Message.Title }}"
+ template: "Status: **{{ .Build.Status }}**
Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}
Message: {{ .Commit.Message.Title }}"
username:
from_secret: matrix_username
@@ -147,6 +147,6 @@ depends_on:
---
kind: signature
-hmac: 2d7db8fee009abbecb69ac693db07b18265f204304476883bc1488e3481ff0dc
+hmac: 07e123ae54fb79836d48b0fee57666759de62d8e85a94d9386179e636b2235e3
...