Compare commits
8 commits
2e98292b98
...
0583ed2310
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 0583ed2310 | ||
Bruno BELANYI | c91766f15e | ||
Bruno BELANYI | 002f514dd5 | ||
Bruno BELANYI | b287605b90 | ||
Bruno BELANYI | 0694dcb7b7 | ||
Bruno BELANYI | 23cda88f49 | ||
Bruno BELANYI | fa23e48ad5 | ||
Bruno BELANYI | 10e0623e17 |
31
.drone.yml
Normal file
31
.drone.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: Matrix Notifier check
|
||||
|
||||
steps:
|
||||
- name: Pre-commit checks
|
||||
commands:
|
||||
- nix flake check -vvv
|
||||
|
||||
- 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
|
||||
MESSAGE:
|
||||
# FIXME: need to find a way to link
|
||||
"Build ${DRONE_BUILD_STATUS} [${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}](${dummy_link}) (${DRONE_BRANCH}) by ${DRONE_COMMIT_AUTHOR}"
|
||||
settings:
|
||||
trigger:
|
||||
status:
|
||||
- failure
|
||||
- success
|
||||
...
|
Loading…
Reference in a new issue