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:42 +02:00
parent 6c8cb3e016
commit c4f11d0420
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: 44c52e98f1e69ded6f76d25a7f95b64750190de295efa1bfadd24bdfe8ecf15c
hmac: b53aff5d318e0a58409e3ab437913a4f71c7ad3ad2f748d188a4dbcdac2df0ef
...