diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..664a8df --- /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/MineAlert-*.jar" \ No newline at end of file