javacord/.drone.yml

42 lines
546 B
YAML
Raw Normal View History

---
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
settings:
servers:
- id: etztech
username: etzelia
password:
from_secret: reposilite_token
- name: deploy
pull: always
image: maven:3-jdk-8
commands:
- mvn deploy -e -X -gs settings.xml