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:35 +02:00
parent f6d6bdbc8a
commit 829ea8e812
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: 42102b6f3eaabc013a3cd1f354c043462e9654f26f46a2e239f5af92d6109e85
hmac: 1db64b7079ec7e54a4fb59b0a7e35e5566c5a52098668c2feea4373827ec341b
...