From 98ae8ba97d94310f8237eef94a32dd2398b8e2e9 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Wed, 12 Aug 2020 05:26:27 +0200 Subject: [PATCH] Add Drone (#1) Change deploy criteria Add Drone Reviewed-on: https://git.etztech.xyz/Etzelia/javacord/pulls/1 --- .drone.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..15b68ea --- /dev/null +++ b/.drone.yml @@ -0,0 +1,41 @@ +--- +kind: pipeline +name: compliance + +trigger: + event: + - pull_request + +steps: +- name: build + pull: always + image: maven:3-jdk-8 + commands: + - mvn package + +--- +kind: pipeline +name: release + +trigger: + branch: + - master + event: + - push + +steps: +- name: .m2 + pull: always + image: robertstettner/drone-mvn-auth + servers: + - id: etztech + username: etzelia + password: + from_secret: reposilite_token + + +- name: deploy + pull: always + image: maven:3-jdk-8 + commands: + - mvn deploy \ No newline at end of file