From 17f011e9795983603debd2bf8fc94f61b5d2c018 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Thu, 9 Mar 2023 11:11:08 -0800 Subject: [PATCH] test notifications --- .woodpecker.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 30d056d..6fe4070 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,13 +12,18 @@ pipeline: - sha256sum /tmp/privateKey - ansible-playbook --user igor --inventory hosts.ini --private-key /tmp/privateKey main.yml -# publish: -# image: plugins/ansible -# pull: true -# secrets: [ ssh_key ] -# settings: -# playbook: main.yml -# inventory: hosts.ini -# connection: paramiko_ssh -# user: igor -# private_key: $SSH_KEY + notify: + image: plugins/matrix + settings: + homeserver: https://pnut-matrix.dreamfall.space + roomid: qjafxbUILIiwzyJWqf:mcmillian.ems.host + username: woodpeckerci + password: + from_secret: matrix_secret + environment: + - DRONE_BUILD_STATUS=$CI_BUILD_STATUS + - DRONE_REPO_OWNER=$CI_REPO_OWNER + - DRONE_REPO_NAME=$CI_REPO_NAME + - DRONE_COMMIT=$CI_COMMIT_REF + - DRONE_BUILD_LINK=$CI_BUILD_LINK + - DRONE_BRANCH=$CI_COMMIT_BRANCH