ci: woodpecker: add exec pipeline
This commit is contained in:
parent
7d0d6e9483
commit
242737bd0d
26
.woodpecker/exec.yml
Normal file
26
.woodpecker/exec.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
labels:
|
||||
type: exec
|
||||
|
||||
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