Mise à jour de '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
70e355a6f7
commit
7b6051a2b9
21
.drone.yml
21
.drone.yml
@ -45,3 +45,24 @@ steps:
|
||||
from_secret: RSYNC_USER
|
||||
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…
x
Reference in New Issue
Block a user