From 7036a24c729ea39ccba3b283d40f68b875d41723 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 23 Jun 2022 09:22:04 +0200 Subject: [PATCH] ci: woodpecker: add exec pipeline --- .woodpecker/exec.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .woodpecker/exec.yml diff --git a/.woodpecker/exec.yml b/.woodpecker/exec.yml new file mode 100644 index 0000000..1a22717 --- /dev/null +++ b/.woodpecker/exec.yml @@ -0,0 +1,26 @@ +labels: + type: exec + +pipeline: + test: + image: bash + commands: + - "nix run 'nixpkgs#hello'" + + notify: + 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 'github:ambroisie/matrix-notifier' + when: + status: + - failure + - success