Bruno BELANYI
dd1742b5b8
Now that I have written a script to do the Matrix notification, I can do that.
28 lines
442 B
YAML
28 lines
442 B
YAML
---
|
|
kind: pipeline
|
|
type: exec
|
|
name: NixOS config check
|
|
|
|
steps:
|
|
- name: format check
|
|
commands:
|
|
- nix develop -c nixpkgs-fmt .
|
|
|
|
- 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
|
|
...
|