Compare commits

...

2 commits

Author SHA1 Message Date
Bruno BELANYI 436483aac7 ci: remove Drone CI
All checks were successful
ci/woodpecker/push/check Pipeline was successful
ci/woodpecker/manual/check Pipeline was successful
2023-04-14 16:07:37 +00:00
Bruno BELANYI cb62f179a3 ci: add Woodpecker CI workflow 2023-04-14 16:07:37 +00:00
2 changed files with 26 additions and 27 deletions

View file

@ -1,27 +0,0 @@
---
kind: pipeline
type: exec
name: Matrix Notifier check
steps:
- name: Pre-commit checks
commands:
- nix flake check
- name: Notifiy
commands:
- nix run .
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
when:
status:
- failure
- success
...

26
.woodpecker/check.yml Normal file
View file

@ -0,0 +1,26 @@
labels:
type: exec
pipeline:
- name: pre-commit checks
image: bash
commands:
- nix flake check
- name: notifiy
image: bash
secrets:
- source: matrix_password
target: pass
- source: matrix_homeserver
target: address
- source: matrix_roomid
target: room
- source: matrix_username
target: user
commands:
- nix run .
when:
status:
- failure
- success