javacord/.drone.yml

34 lines
399 B
YAML
Raw Normal View History

---
kind: pipeline
name: compliance
trigger:
event:
- pull_request
steps:
- name: build
pull: always
image: gradle:6.6
commands:
- gradle build
---
kind: pipeline
name: release
trigger:
branch:
- master
event:
- push
steps:
- name: publish
pull: always
image: gradle:6.6
environment:
MAVEN_PASSWORD:
from_secret: maven_password
commands:
- gradle publish