Compare commits
2 commits
36bd1b798a
...
436483aac7
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 436483aac7 | ||
Bruno BELANYI | cb62f179a3 |
27
.drone.yml
27
.drone.yml
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
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
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
...
|
26
.woodpecker/check.yml
Normal file
26
.woodpecker/check.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
labels:
|
||||
type: exec
|
||||
|
||||
pipeline:
|
||||
- name: pre-commit checks
|
||||
image: bash
|
||||
commands:
|
||||
- nix flake check
|
||||
|
||||
- name: notifiy
|
||||
image: bash
|
||||
secrets:
|
||||
- source: matrix_password
|
||||
target: pass
|
||||
- source: matrix_homeserver
|
||||
target: address
|
||||
- source: matrix_roomid
|
||||
target: room
|
||||
- source: matrix_username
|
||||
target: user
|
||||
commands:
|
||||
- nix run .
|
||||
when:
|
||||
status:
|
||||
- failure
|
||||
- success
|
Loading…
Reference in a new issue