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

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

View File

@ -183,7 +183,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:
@ -204,6 +204,6 @@ depends_on:
---
kind: signature
hmac: 8dc112db323d4825edbc52cf2c743ccf00c07be47cabe7a6faa21b58b678a782
hmac: f23406441a2cf3872a1990a14e60a888b375ef31f75ea455fe4d2aa5dfe850be
...