From e91e5ae9e54beee4efa5aef83f2161fcb19750b9 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sun, 27 Jun 2021 20:13:43 -0600 Subject: [PATCH] Added .drone.yml --- .drone.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4448638 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,36 @@ +--- +kind: pipeline +type: docker +name: compliance + +steps: + - name: build + image: maven:3-openjdk-16 + commands: + - mvn install + +--- +kind: pipeline +type: docker +name: release + +trigger: + branch: + - main + event: + - push + +steps: + - name: build + image: maven:3-openjdk-16 + commands: + - mvn install + - name: gitea-release + pull: always + image: jolheiser/drone-gitea-main:latest + settings: + token: + from_secret: gitea_token + base: https://git.canopymc.net + files: + - "target/QoL-*.jar" \ No newline at end of file