Плагины
SCP (SSH Copy)
- name: scp files
image: appleboy/drone-scp
settings:
host:
from_secret: scp_host
username:
from_secret: scp_user
password:
from_secret: scp_pass
port: 22
source: /root/archlinux-*-x86_64.iso
target: /var/www/mirror
Telegram notification
- name: send telegram notification
image: appleboy/drone-telegram
settings:
token:
from_secret: tg_token
to:
from_secret: tg_user
message: >
{{#success build.status}}
build {{build.number}} of {{repo.name}} succeeded. Commit: {{commit.message}}. Duration: {{since build.started}}. Good job.
{{else}}
build {{build.number}} of {{repo.name}} failed. Commit: {{commit.message}}. Duration: {{since build.started}}. Fix me please.
{{/success}}
when:
status:
- success
- failure
No Comments