32 lines
536 B
YAML
32 lines
536 B
YAML
|
labels:
|
||
|
backend: local
|
||
|
|
||
|
steps:
|
||
|
- name: pre-commit check
|
||
|
image: bash
|
||
|
commands:
|
||
|
- nix develop --command pre-commit run --all
|
||
|
|
||
|
- name: nix flake check
|
||
|
image: bash
|
||
|
commands:
|
||
|
- nix flake check
|
||
|
|
||
|
- name: notifiy
|
||
|
image: bash
|
||
|
environment:
|
||
|
ADDRESS:
|
||
|
from_secret: matrix_homeserver
|
||
|
ROOM:
|
||
|
from_secret: matrix_roomid
|
||
|
USER:
|
||
|
from_secret: matrix_username
|
||
|
PASS:
|
||
|
from_secret: matrix_password
|
||
|
commands:
|
||
|
- nix run github:ambroisie/matrix-notifier
|
||
|
when:
|
||
|
status:
|
||
|
- failure
|
||
|
- success
|