matrix-notifier/.woodpecker/check.yml

32 lines
457 B
YAML
Raw Normal View History

2023-04-01 17:41:16 +02:00
labels:
type: exec
2023-11-18 21:20:45 +01:00
steps:
2023-11-18 21:21:24 +01:00
- name: flake check
2023-04-01 17:41:16 +02:00
image: bash
commands:
- nix flake check
2023-11-18 21:21:05 +01:00
- name: package check
image: bash
commands:
- nix build
2023-04-01 17:41:16 +02:00
- 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