sqlite-clone/.drone.yml
kjuulh cca02246dd
Some checks failed
continuous-integration/drone/push Build is failing
with template
2022-03-27 18:04:50 +02:00

23 lines
867 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build && test
image: rust:1
commands:
- cargo build --verbose --all
- cargo test --verbose --all
-
- name: send telegram notification
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to: 2129601481
message: >
{{#success build.status}} ✔ {{ else }} :x: {{/success}} {{ uppercasefirst build.status }}: Build #{{ build.number }} * (type: `{{ build.event }}`)
Commit: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commit/{{ build.commit }}|{{ truncate build.commit 8 }}>
Branch: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commits/{{ build.branch }}|{{ build.branch }}>
Author: {{ build.author }}
Build: <{{ build.link }}| Drone Build {{ build.number }} ↗>