fix: fix ci notification
continuous-integration/drone/push Build is pending Details

This commit is contained in:
Robert Kaussow 2023-09-28 20:36:23 +02:00
parent e22b4e1236
commit 7f5e7db7fa
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 3 additions and 3 deletions

View File

@ -47,8 +47,8 @@ platform:
arch: amd64
steps:
- name: matrix
image: plugins/matrix
- name: notification
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
@ -56,7 +56,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 {{ build.author }}<br/> Message: {{ build.message }}"
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
when: