improve drone-matrix template

This commit is contained in:
Robert Kaussow 2021-09-22 09:28:15 +02:00
parent a8a519744a
commit 4ebdc189d9
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ local PipelineNotification = {
settings: {
homeserver: { from_secret: 'matrix_homeserver' },
roomid: { from_secret: 'matrix_roomid' },
template: '{% raw %}Status: **{{ build.Status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}<br/> Message: {{ commit.Message }}{% endraw %}',
template: '{% raw %}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 }}{% endraw %}',
username: { from_secret: 'matrix_username' },
password: { from_secret: 'matrix_password' },
},