Update .drone.yml

This commit is contained in:
Ruan Bekker 2019-04-18 22:33:01 +02:00 committed by GitHub
parent 06e99c15b0
commit 68a3896b33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,27 +46,11 @@ steps:
build {{build.number}} failed. Fix me please.
{{/success}}
- name: telegram
image: appleboy/drone-telegram
debug: true
secrets: [ telegram_token, telegram_to ]
when:
status: [ success, failure ]
format: markdown
message: >
{{#success build.status}}
Build #{{build.number}} of `{{repo.name}}` succeeded.
Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
{{ build.link }}
{{else}}
Build #{{build.number}} of `{{repo.name}}` failed.
Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
{{ build.link }}
{{/success}}
- name: ssh
image: appleboy/drone-ssh
host: kibana.ruan.dev
username: root
port: 2222
secrets: [ ssh_key ]
script:
- echo "hello" > /tmp/data.txt