[skip ci] fix drone-matrix template
This commit is contained in:
parent
e2dbdebb4c
commit
b89f64d55d
@ -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: bd3e6d51794100a3f09d836d4df35a31a0c50862eeac83f400c59b0e6ebfd430
|
hmac: a85a0f26bfdfed6bfd1a50f09f9eccb82ab305df4935ae0068e1c317037e51b4
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user