nix-config/.drone.yml

28 lines
442 B
YAML
Raw Normal View History

---
2021-02-08 18:39:46 +01:00
kind: pipeline
type: exec
name: NixOS config check
2021-02-08 18:39:46 +01:00
steps:
- name: format check
commands:
- nix develop -c nixpkgs-fmt .
2021-02-08 18:39:46 +01:00
- 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
...