This is my first experiment to make sure I can actually use this in my CI.
This commit is contained in:
parent
ca3b5a053c
commit
2e98292b98
28
.drone.yml
Normal file
28
.drone.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
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
|
||||
settings:
|
||||
trigger:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
...
|
Loading…
Reference in a new issue