ci: woodpecker: add exec pipeline
All checks were successful
All checks were successful
This commit is contained in:
parent
f2c5dbbe27
commit
320227f5d6
26
.woodpecker/exec.yml
Normal file
26
.woodpecker/exec.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
labels:
|
||||||
|
type: exec
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
- name: test
|
||||||
|
image: bash
|
||||||
|
commands:
|
||||||
|
- nix run 'nixpkgs#hello'
|
||||||
|
|
||||||
|
- name: 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