From 17067f7c891b64ea924d29673bde4fbc64d1ef0a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sat, 12 Jun 2021 17:52:54 +0200 Subject: [PATCH] ci: drone: add notification step on exec runner --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.drone.yml b/.drone.yml index 68f3919..d577960 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,4 +14,21 @@ steps: - name: test commands: - nix run 'nixpkgs#hello' +- name: notify + commands: + - nix run 'github:ambroisie/matrix-notifier' + environment: + ADDRESS: + from_secret: matrix_homeserver + ROOM: + from_secret: matrix_roomid + USER: + from_secret: matrix_username + PASS: + from_secret: matrix_password + settings: + trigger: + status: + - failure + - success ...