Mise à jour de '.drone.yml'

v4
gregandev 2 years ago
parent 70e355a6f7
commit 7b6051a2b9
  1. 21
      .drone.yml

@ -45,3 +45,24 @@ steps:
from_secret: RSYNC_USER from_secret: RSYNC_USER
key: key:
from_secret: RSYNC_SSH_KEY from_secret: RSYNC_SSH_KEY
- name: notification
image: appleboy/drone-telegram
settings:
token:
from_secret: TELEGRAM_TOKEN
to:
from_secret: TELEGRAM_USERID
when:
status: [ success, failure ]
message: >
📝 {{repo.name}} / {{commit.branch}} - {{commit.message}}
{{#success build.status}}
✅ succeeded for 👷 build {{build.number}}
{{else}}
🛑 failed for 👷 build {{build.number}}
{{/success}}
when:
status:
- failure
- success

Loading…
Cancel
Save