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/8pull/1/head
parent
7dbb6396a1
commit
9ef6bb015a
17
.drone.yml
17
.drone.yml
|
@ -9,9 +9,9 @@ trigger:
|
|||
steps:
|
||||
- name: build
|
||||
pull: always
|
||||
image: maven:3-jdk-8
|
||||
image: maven:3-alpine
|
||||
commands:
|
||||
- mvn package
|
||||
- mvn install
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -19,24 +19,21 @@ name: release
|
|||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: .m2
|
||||
- name: auth
|
||||
pull: always
|
||||
image: robertstettner/drone-mvn-auth
|
||||
settings:
|
||||
servers:
|
||||
- id: etztech
|
||||
username: etzelia
|
||||
password:
|
||||
from_secret: reposilite_token
|
||||
from_secret: maven_servers
|
||||
|
||||
|
||||
- name: deploy
|
||||
pull: always
|
||||
image: maven:3-jdk-8
|
||||
image: maven:3-alpine
|
||||
commands:
|
||||
- mvn deploy -gs settings.xml
|
Loading…
Reference in New Issue