Compare commits

...

2 commits

Author SHA1 Message Date
Bruno BELANYI 36bd1b798a ci: remove Drone CI
Some checks failed
ci/woodpecker/push/check Pipeline failed
2023-04-01 17:12:44 +01:00
Bruno BELANYI b4bc36f6e1 ci: add Woodpecker CI workflow
All checks were successful
continuous-integration/drone/push Build is passing
ci/woodpecker/push/check Pipeline was successful
2023-04-01 16:41:16 +01:00
2 changed files with 23 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
...

23
.woodpecker/check.yml Normal file
View file

@ -0,0 +1,23 @@
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