[skip ci] fix drone-matrix template
This commit is contained in:
parent
7d1998cb5f
commit
372793ae66
@ -137,7 +137,7 @@ local PipelineNotification = {
|
|||||||
settings: {
|
settings: {
|
||||||
homeserver: { from_secret: 'matrix_homeserver' },
|
homeserver: { from_secret: 'matrix_homeserver' },
|
||||||
roomid: { from_secret: 'matrix_roomid' },
|
roomid: { from_secret: 'matrix_roomid' },
|
||||||
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 }}',
|
template: 'Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}',
|
||||||
username: { from_secret: 'matrix_username' },
|
username: { from_secret: 'matrix_username' },
|
||||||
password: { from_secret: 'matrix_password' },
|
password: { from_secret: 'matrix_password' },
|
||||||
},
|
},
|
||||||
|
@ -165,7 +165,7 @@ steps:
|
|||||||
from_secret: matrix_password
|
from_secret: matrix_password
|
||||||
roomid:
|
roomid:
|
||||||
from_secret: matrix_roomid
|
from_secret: matrix_roomid
|
||||||
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 }}"
|
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
|
||||||
username:
|
username:
|
||||||
from_secret: matrix_username
|
from_secret: matrix_username
|
||||||
|
|
||||||
@ -182,6 +182,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 3e64af15d43ca725e555be5b61b8f618ddd0ac29bf403408a439307c8ead0ffe
|
hmac: a9509be40e336e6f4cf7d29a66caff4398a71d8a8c7f8dad7a2151e12dd93699
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user