From a8a519744a803fc0da9146679da23db49fb83620 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 20 Sep 2021 22:30:07 +0200 Subject: [PATCH] ci: switch to drone-matrix plugin --- .../.drone.jsonnet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.author}}.{{cookiecutter.role_name}}/.drone.jsonnet b/{{cookiecutter.author}}.{{cookiecutter.role_name}}/.drone.jsonnet index 6a8c8fa..f37034d 100644 --- a/{{cookiecutter.author}}.{{cookiecutter.role_name}}/.drone.jsonnet +++ b/{{cookiecutter.author}}.{{cookiecutter.role_name}}/.drone.jsonnet @@ -132,11 +132,11 @@ local PipelineNotification = { steps: [ { name: 'matrix', - image: 'plugins/matrix', + image: 'thegeeklab/drone-matrix', settings: { homeserver: { from_secret: 'matrix_homeserver' }, roomid: { from_secret: 'matrix_roomid' }, - template: '{% raw %}Status: **{{ build.status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}
Message: {{ build.message }}{% endraw %}', + template: '{% raw %}Status: **{{ build.Status }}**
Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.Link }}) ({{ build.Branch }}) by {{ commit.Author }}
Message: {{ commit.Message }}{% endraw %}', username: { from_secret: 'matrix_username' }, password: { from_secret: 'matrix_password' }, },