fix drone-matrix template

This commit is contained in:
Robert Kaussow 2023-02-08 17:04:31 +01:00
parent 0c8a5488b2
commit 27cfe30021
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -271,7 +271,7 @@ steps:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}){{#if build.Branch}} ({{ build.Branch }}){{/if}} by {{ commit.Author }}<br/> Message: {{ commit.Message.Title }}"
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
username:
from_secret: matrix_username
when:
@ -292,6 +292,6 @@ depends_on:
---
kind: signature
hmac: 383e1b462823db3d79fb155de2bf3b53a4f4380ab036778552011c84fec23344
hmac: 389d186257e2dbf4bcbcb9d6123842b0943ae91365094da8e7addcfabcba2e2b
...