Mise à jour de '.drone.yml'

This commit is contained in:
gregandev 2022-12-19 16:26:15 +01:00
parent 2ac2fc5489
commit 1c432196a6

View File

@ -43,7 +43,22 @@ steps:
key: key:
from_secret: RSYNC_SSH_KEY from_secret: RSYNC_SSH_KEY
- name: notification when:
image: plugins/docker status: [ success, failure ]
commands:
- echo job done! - name: notification
image: drillster/drone-email
settings:
from.address: drone@gregandev.fr
host: mail.gandi.net
port: 465
username: drone@gregandev.fr
password:
from-secret: MAIL_PASSWORD
recipients: [ greg@gregandev.fr ]
subject: >
[{{ build.status }}]
{{ repo.owner }}/{{ repo.name }}
({{ build.branch }} - {{ truncate build.commit 8 }})
body:
https://git.io/vgvPz