diff --git a/.drone.yml b/.drone.yml index 43a3982..e8efd21 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,22 +49,22 @@ steps: from_secret: RSYNC_SSH_KEY - name: notification - image: appleboy/drone-telegram + image: drillster/drone-email settings: - token: - from_secret: TELEGRAM_TOKEN - to: - from_secret: TELEGRAM_USERID + from: drone@gregandev.fr + host: mail.gandi.net + port: 465 + username: drone@gregandev.fr + password: + from-secret: MAIL_PASSWORD + recipients: [ greg.lebreton@hotmail.com ] + subject: > + [{{ build.status }}] + {{ repo.owner }}/{{ repo.name }} + ({{ build.branch }} - {{ truncate build.commit 8 }}) + body: + https://git.io/vgvPz when: status: - - failure - success - format: markdown - message: > - 📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} - {{#success build.status}} - ✅ succeeded for 👷‍♂️ build {{build.number}} - {{else}} - 🛑 failed for 👷‍♂️ build {{build.number}} - {{/success}} - + - failure \ No newline at end of file