nix-config/.drone.yml

28 lines
432 B
YAML

---
kind: pipeline
type: exec
name: NixOS config check
steps:
- name: nix flake check
commands:
- nix flake check
- 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
...