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:36 +02:00
parent f8c5632d03
commit 51d7f84865
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: e30e31badb173a700dea1981548fad4470791bf6f3b284fe589d4864cad42e0d
hmac: 3d3a49cd900fe822c6568d4f2f2e6e9d628ddf2aca147079658b117c8de92c45
...