ci: woodpecker: add exec pipeline
This commit is contained in:
parent
7ebf9bf5af
commit
ff522e900e
23
.woodpecker/exec.yml
Normal file
23
.woodpecker/exec.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
pipeline:
|
||||||
|
test:
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- "nix run 'nixpkgs#hello'"
|
||||||
|
|
||||||
|
notify:
|
||||||
|
image: bash
|
||||||
|
secrets:
|
||||||
|
- source: matrix_homeserver
|
||||||
|
target: address
|
||||||
|
- source: matrix_roomid
|
||||||
|
target: room
|
||||||
|
- source: matrix_username
|
||||||
|
target: user
|
||||||
|
- source: matrix_password
|
||||||
|
target: pass
|
||||||
|
commands:
|
||||||
|
- nix run 'github:ambroisie/matrix-notifier'
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
|
- success
|
Loading…
Reference in a new issue