test-drone/.drone.yml
Bruno BELANYI 17067f7c89
Some checks reported errors
continuous-integration/drone/push Build encountered an error
ci: drone: add notification step on exec runner
2021-06-12 18:24:04 +02:00

35 lines
561 B
YAML

---
kind: pipeline
type: docker
name: exec docker test
steps:
- name: test
image: hello-world
---
kind: pipeline
type: exec
name: exec runner test
steps:
- name: test
commands:
- nix run 'nixpkgs#hello'
- name: notify
commands:
- nix run 'github:ambroisie/matrix-notifier'
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
settings:
trigger:
status:
- failure
- success
...