Add Drone (#1)

Change deploy criteria

Add Drone

Reviewed-on: https://git.etztech.xyz/Etzelia/javacord/pulls/1
pull/1/head
Etzelia 2020-08-12 05:26:27 +02:00
parent 031bc83243
commit 98ae8ba97d
1 changed files with 41 additions and 0 deletions

41
.drone.yml 100644
View File

@ -0,0 +1,41 @@
---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: maven:3-jdk-8
commands:
- mvn package
---
kind: pipeline
name: release
trigger:
branch:
- master
event:
- push
steps:
- name: .m2
pull: always
image: robertstettner/drone-mvn-auth
servers:
- id: etztech
username: etzelia
password:
from_secret: reposilite_token
- name: deploy
pull: always
image: maven:3-jdk-8
commands:
- mvn deploy