Fix Maven Deploy (#8)

Update '.drone.yml'

Update '.drone.yml'

Update '.drone.yml'

Update '.drone.yml'

Update '.drone.yml'

Update '.drone.yml'

Reviewed-on: https://git.etztech.xyz/Etzelia/javacord/pulls/8
pull/1/head
Etzelia 2020-08-14 17:22:40 +02:00
parent 7dbb6396a1
commit 9ef6bb015a
1 changed files with 7 additions and 10 deletions

View File

@ -9,9 +9,9 @@ trigger:
steps: steps:
- name: build - name: build
pull: always pull: always
image: maven:3-jdk-8 image: maven:3-alpine
commands: commands:
- mvn package - mvn install
--- ---
kind: pipeline kind: pipeline
@ -24,19 +24,16 @@ trigger:
- push - push
steps: steps:
- name: .m2 - name: auth
pull: always pull: always
image: robertstettner/drone-mvn-auth image: robertstettner/drone-mvn-auth
settings: settings:
servers: servers:
- id: etztech from_secret: maven_servers
username: etzelia
password:
from_secret: reposilite_token
- name: deploy - name: deploy
pull: always pull: always
image: maven:3-jdk-8 image: maven:3-alpine
commands: commands:
- mvn deploy -gs settings.xml - mvn deploy -gs settings.xml