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:34 +02:00
parent a20fdc6605
commit 456fff0785
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -174,7 +174,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:
@ -195,6 +195,6 @@ depends_on:
---
kind: signature
hmac: 2b7665fe290236b60018c95df0e70988d1fc0ff46cdf939a7f7e74898eeb223a
hmac: e71a00cf81ab915d0e680d8b39634a8b4587e3ff4890920008aab27b321be387
...