Mise à jour de '.drone.yml'
This commit is contained in:
parent
80cb766847
commit
b2fba46e4d
30
.drone.yml
30
.drone.yml
@ -49,22 +49,22 @@ steps:
|
|||||||
from_secret: RSYNC_SSH_KEY
|
from_secret: RSYNC_SSH_KEY
|
||||||
|
|
||||||
- name: notification
|
- name: notification
|
||||||
image: appleboy/drone-telegram
|
image: drillster/drone-email
|
||||||
settings:
|
settings:
|
||||||
token:
|
from: drone@gregandev.fr
|
||||||
from_secret: TELEGRAM_TOKEN
|
host: mail.gandi.net
|
||||||
to:
|
port: 465
|
||||||
from_secret: TELEGRAM_USERID
|
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:
|
when:
|
||||||
status:
|
status:
|
||||||
- failure
|
|
||||||
- success
|
- success
|
||||||
format: markdown
|
- failure
|
||||||
message: >
|
|
||||||
📝 {{repo.name}} / {{commit.branch}} - {{commit.message}}
|
|
||||||
{{#success build.status}}
|
|
||||||
✅ succeeded for 👷♂️ build {{build.number}}
|
|
||||||
{{else}}
|
|
||||||
🛑 failed for 👷♂️ build {{build.number}}
|
|
||||||
{{/success}}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user