Add '.drone.yml'

Reviewed-on: https://git.etztech.xyz/Minecraft/PluginAPI/pulls/9
Reviewed-by: ZeroHD <joey@ahines.net>
gradle
Etzelia 2020-09-05 17:17:49 +02:00
parent 787a47108a
commit 6e90ba9587
1 changed files with 39 additions and 0 deletions

39
.drone.yml 100644
View File

@ -0,0 +1,39 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: maven:3-alpine
commands:
- mvn install
---
kind: pipeline
name: release
trigger:
branch:
- master
event:
- push
steps:
- name: auth
pull: always
image: robertstettner/drone-mvn-auth
settings:
servers:
from_secret: maven_servers
- name: deploy
pull: always
image: maven:3-alpine
commands:
- mvn deploy -gs settings.xml