forked from Minecraft/javacord
Add Drone (#1)
Change deploy criteria Add Drone Reviewed-on: https://git.etztech.xyz/Etzelia/javacord/pulls/1main
parent
031bc83243
commit
98ae8ba97d
|
@ -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
|
Loading…
Reference in New Issue