improve drone-matrix template
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-09-22 09:22:38 +02:00
parent 02cc961198
commit 503f59b2df
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -180,7 +180,7 @@ steps:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}<br/> Message: {{ commit.Message }}"
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 }}"
username:
from_secret: matrix_username
when:
@ -201,6 +201,6 @@ depends_on:
---
kind: signature
hmac: 2a906f3a32b1caf636b52d00295b430d492282b48e805e005558bbc88ffc8a04
hmac: ca041203f61f0275d3f2e6a830a7a92b881392a0b6d95f50e2eb05d65e5cc980
...