ci: switch to drone-matrix plugin
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-09-20 22:10:28 +02:00
parent 159150a603
commit bf8882a5f8
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -10,17 +10,17 @@ concurrency:
limit: 1
steps:
- name: generate
- name: generate
image: thegeeklab/alpine-tools
commands:
- make doc
- name: markdownlint
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'content/**/*.md' 'README.md'
- name: spellcheck
- name: spellcheck
image: node:lts-alpine
commands:
- npm install -g spellchecker-cli
@ -29,7 +29,7 @@ steps:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: favicons
- name: favicons
image: node:lts-alpine
commands:
- npm install > /dev/null
@ -38,24 +38,24 @@ steps:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: testbuild
- name: testbuild
image: thegeeklab/hugo:0.83.1
commands:
- hugo -b http://localhost/
- name: link-validation
- name: link-validation
image: thegeeklab/link-validator
commands:
- link-validator -ro
environment:
LINK_VALIDATOR_BASE_DIR: public/
- name: build
- name: build
image: thegeeklab/hugo:0.83.1
commands:
- hugo
- name: beautify
- name: beautify
image: node:lts-alpine
commands:
- npm install -g js-beautify
@ -64,7 +64,7 @@ steps:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: publish
- name: publish
image: plugins/s3-sync
settings:
access_key:
@ -97,8 +97,8 @@ platform:
arch: amd64
steps:
- name: matrix
image: plugins/matrix
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
@ -106,9 +106,13 @@ 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 }}) ({{ build.Branch }}) by {{ commit.Author }}<br/> Message: {{ commit.Message }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
@ -119,10 +123,10 @@ trigger:
- failure
depends_on:
- build
- build
---
kind: signature
hmac: 435256421217bc48a6dc985b5fe5e0109ce3a4ada42a9fcda68a07413091d48f
hmac: cc31ad6165869f1516a7201966330197cdd92b0e698a040d92ae7dafa8ddf3b3
...