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:41 +02:00
parent 7badb529ce
commit dc075ab910
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -192,7 +192,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:
@ -213,6 +213,6 @@ depends_on:
---
kind: signature
hmac: e79ac30892015d4a53e0981ac2568945732414feba8f108ec4ad89a3aa3c9544
hmac: af9757181a6acdd9b4572f45af4b4363d411365d41e67414cafc1b507b8e12ad
...