2021-06-12 14:34:44 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
|
|
|
name: Matrix Notifier check
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Pre-commit checks
|
|
|
|
commands:
|
|
|
|
- nix flake check
|
2021-06-12 19:15:50 +02:00
|
|
|
- "false"
|
2021-06-12 14:34:44 +02:00
|
|
|
|
|
|
|
- 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
|
2021-06-12 19:15:50 +02:00
|
|
|
when:
|
|
|
|
status:
|
|
|
|
- failure
|
|
|
|
- success
|
2021-06-12 14:34:44 +02:00
|
|
|
...
|