Add Drone

Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/2/head
Etzelia 2021-07-16 22:15:04 -05:00
parent 0310f0f827
commit 1f2eb8b76e
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
1 changed files with 36 additions and 0 deletions

36
.drone.yml 100644
View File

@ -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"