From 320227f5d60c06bd4b74fc03da5785e92f649b8c 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..ce78286 --- /dev/null +++ b/.woodpecker/exec.yml @@ -0,0 +1,26 @@ +labels: + type: exec + +pipeline: +- name: test + image: bash + commands: + - nix run 'nixpkgs#hello' + +- name: 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