Files
stbf/.drone.yml
Ruslan Penkrat 1aa6ebaf1d
Some checks failed
continuous-integration/drone/push Build is failing
add deploy config
2021-08-15 07:47:46 +03:00

28 lines
467 B
YAML

kind: pipeline
name: default
steps:
- name: install
image: maven:3.6.1-jdk-8-slim
volumes:
- name: mvnrepo
path: /root/.m2
commands:
- mvn install
- name: deploy
image: maven:3.6.1-jdk-8-slim
volumes:
- name: mvnrepo
path: /root/.m2
commands:
- mvn deploy -DskipTests=true -DaltDeploymentRepository=${DEPREPO}
environment:
DEPREPO:
from_secret: deprepo
volumes:
- name: mvnrepo
host:
path: /media/data/storage/.m2