32 lines
516 B
YAML
32 lines
516 B
YAML
labels:
|
|
type: exec
|
|
|
|
pipeline:
|
|
- name: env
|
|
image: bash
|
|
commands:
|
|
- export
|
|
|
|
- name: test
|
|
image: bash
|
|
commands:
|
|
- HOME=$(mktemp -d) 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:
|
|
- HOME=$(mktemp -d) nix run 'github:ambroisie/matrix-notifier'
|
|
when:
|
|
status:
|
|
- failure
|
|
- success
|