From 43a66b6521d2617c86dda9b5596c2bf4a5f3fe8c Mon Sep 17 00:00:00 2001 From: norangebit Date: Thu, 7 Nov 2019 19:29:47 +0100 Subject: [PATCH] add drone.yml --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..1b4406f --- /dev/null +++ b/.drone.yml @@ -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!