From 9e2fb188ab1b3652c763854f821a2d852688e794 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 18 Jan 2022 19:12:16 +0100 Subject: [PATCH] Update woodpecker --- .woodpecker.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index dc9be07..c03d4e3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,3 +1,5 @@ +# branches: main + pipeline: unit_tests: image: mquade/poetry:3.9-1.1.11 @@ -21,3 +23,26 @@ pipeline: - poetry install - pip install mypy - mypy . + + build_dist: + image: mquade/poetry:3.9-1.1.11 + commands: + - poetry config virtualenvs.create false + - poetry install + - poetry build + when: + branch: main + + notify_matrix: + image: plugins/matrix + settings: + homeserver: https://matrix.org + roomid: + from_secret: matrix_roomid + userid: + from_secret: matrix_userid + accesstoken: + from_secret: matrix_token + when: + status: [ success, failure ] +