nix-config/.drone.yml
Bruno BELANYI b8be3d80a8
All checks were successful
continuous-integration/drone/push Build is passing
ci: migrate to 'exec' runner
Now that I have written a script to do the Matrix notification, I can do
that.
2021-06-13 18:38:09 +02:00

28 lines
442 B
YAML

---
kind: pipeline
type: exec
name: NixOS config check
steps:
- name: format check
commands:
- nix develop -c nixpkgs-fmt .
- name: notifiy
commands:
- nix run .#matrix-notifier
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
when:
status:
- failure
- success
...