37 lines
595 B
YAML
37 lines
595 B
YAML
labels:
|
|
backend: exec
|
|
|
|
pipeline:
|
|
- name: nix flake check
|
|
image: bash
|
|
commands:
|
|
- nix flake check
|
|
|
|
- name: deploy
|
|
image: bash
|
|
commands:
|
|
# We already ran the checks in the previous step
|
|
- deploy --skip-checks
|
|
when:
|
|
# FIXME: disable PR
|
|
branch:
|
|
- main
|
|
|
|
- name: notifiy
|
|
image: bash
|
|
secrets:
|
|
- source: matrix_homeserver
|
|
target: address
|
|
- source: matrix_roomid
|
|
target: room
|
|
- source: matrix_username
|
|
target: user
|
|
- source: matrix_password
|
|
target: pass
|
|
commands:
|
|
- nix run '.#matrix-notifier'
|
|
when:
|
|
status:
|
|
- failure
|
|
- success
|