improve drone-matrix template
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-09-22 09:22:34 +02:00
parent 47650fea87
commit b4f7969d7f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 2 additions and 2 deletions

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: 2c0f74d5c5e2c5d46fad2058d309cbb37b26fe282d64dad7ee2d1edaae7cea8f
hmac: 42ec3e3517c9b8207612b0a3d89fd34d02290babd557063ac941d7b94edc65d5
...