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