matrix-notifier/.woodpecker/check.yml

27 lines
400 B
YAML

labels:
type: exec
steps:
- 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