Add Woodpecker CI workflow

This commit is contained in:
Bruno BELANYI 2023-04-01 17:00:26 +01:00
parent a233ebe360
commit 5e1ac9da61
1 changed files with 31 additions and 0 deletions

31
.woodpecker/check.yml Normal file
View File

@ -0,0 +1,31 @@
labels:
type: exec
pipeline:
- name: flake check
image: bash
commands:
- nix flake check
- name: package check
image: bash
commands:
- nix build
- name: notify
image: bash
secrets:
- source: matrix_roomid
target: room
- source: matrix_username
target: user
- source: matrix_password
target: pass
- source: matrix_homeserver
target: address
commands:
- nix run github:ambroisie/matrix-notifier
when:
status:
- failure
- success