ci: add Drone CI
All checks were successful
continuous-integration/drone/push Build is passing

This is my first experiment to make sure I can actually use this in my
CI.
This commit is contained in:
Bruno BELANYI 2021-06-12 14:34:44 +02:00
parent dfbc17b518
commit bad1c90d39

27
.drone.yml Normal file
View file

@ -0,0 +1,27 @@
---
kind: pipeline
type: exec
name: Matrix Notifier check
steps:
- name: Pre-commit checks
commands:
- nix flake check
- name: Notifiy
commands:
- nix run .
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
...