From 45f75f09fc7bbf1e82ad2212862f2b2b979b0406 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 3 Jan 2023 12:18:51 +0100 Subject: [PATCH] ci(build): add mail --- .woodpecker.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index e6f1f89..3b9d064 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -31,3 +31,18 @@ pipeline: from_secret: registry_user password: from_secret: registry_docker_password + + mail: + image: drillster/drone-email + settings: + host: + from_secret: mail_host + username: + from_secret: mail_username + password: + from_secret: mail_password + from: + from_secret: mail_from + subject: "[{{ repo.owner }}/{{ repo.name }}] Pipeline #{{ build.number }}: {{ build.status }}" + when: + - status: [success, failure]