add deploy config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-08-15 07:47:46 +03:00
parent 874a10539f
commit 1aa6ebaf1d

View File

@@ -11,6 +11,17 @@ steps:
commands: commands:
- mvn install - 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: volumes:
- name: mvnrepo - name: mvnrepo
host: host: