nix-config/.drone.yml
Bruno BELANYI 8eef7c260e ci: use 'nix flake check'
Now that I am using agenix, secrets stays encrypted at rest.
2021-09-26 23:09:33 +02:00

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
...