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

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

View File

@ -106,7 +106,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:
@ -127,6 +127,6 @@ depends_on:
---
kind: signature
hmac: cc31ad6165869f1516a7201966330197cdd92b0e698a040d92ae7dafa8ddf3b3
hmac: cf2197237bf58405e232ff7ac59e668d2d7baca4a14cc1c43cf59e5b5fc40b2f
...