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:39 +02:00
parent 57f9f20720
commit 59e6df7860
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: 7ca764ffc44fa1fd4a4da0fbf82baaf85bce7baaafc45cc397b668b6fc63084d
hmac: 63707fff1636eda54bb525e5008a3813c091051c1b827dc6870f3fb9166060bf
...