add drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Raffaele Mignone 2019-11-07 19:29:47 +01:00
parent 1389f90161
commit 43a66b6521
Signed by: norangebit
GPG Key ID: F5255658CB220573

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: gradle:5.6.3
commands:
- gradle build
- name: notify
image: appleboy/drone-telegram
settings:
token:
from_secret: telegram_token
to:
from_secret: telegram_user
format: markdown
message: |
Build {{build.number}} from commit [{{truncate commit.sha 10}}]({{commit.link}}) **failed**.
{{uppercasefirst commit.author}} please fix me!