Merge pull request 'Added .drone.yml' (#7) from ZeroHD/QoL:iss/5 into main

Reviewed-on: https://git.birbmc.com/Canopy/QoL/pulls/7
Reviewed-by: Etzelia <etzelia@hotmail.com>
pull/8/head
Joey Hines 2021-06-28 02:30:38 +00:00
commit 3c3fdc1725
2 changed files with 37 additions and 1 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/QoL-*.jar"

View File

@ -77,7 +77,7 @@
</repository> </repository>
<repository> <repository>
<id>dynmap-repo</id> <id>dynmap-repo</id>
<url>http://repo.mikeprimm.com/</url> <url>https://repo.mikeprimm.com/</url>
</repository> </repository>
<repository> <repository>
<id>ess-repo</id> <id>ess-repo</id>