forked from Minecraft/javacord
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/8main
parent
7dbb6396a1
commit
9ef6bb015a
13
.drone.yml
13
.drone.yml
|
@ -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
|
Loading…
Reference in New Issue