From f1981bec4fc852a2c146be33517373874a1e77d6 Mon Sep 17 00:00:00 2001 From: Sainnhe Park Date: Thu, 27 Oct 2022 17:48:55 +0800 Subject: [PATCH] Add email notify --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.drone.yml b/.drone.yml index 5aebfe7..a4d15ab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,3 +15,24 @@ steps: - cmake . - make -j$(nproc) - ctest +- name: notify + image: drillster/drone-email + when: + status: + - failure + settings: + from.address: + from_secret: EMAIL_ADDRESS + from.name: + from_secret: EMAIL_SENDER + host: + from_secret: EMAIL_HOST + port: + from_secret: EMAIL_PORT + username: + from_secret: EMAIL_USERNAME + password: + from_secret: EMAIL_PASSWORD + no_starttls: true + recipients: + - i@sainnhe.dev