improve deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-08-15 09:31:21 +03:00
parent 22768eeaeb
commit 3ed90496cd
2 changed files with 18 additions and 1 deletions

View File

@@ -17,10 +17,14 @@ steps:
- name: mvnrepo
path: /root/.m2
commands:
- mvn deploy -DskipTests=true -DaltDeploymentRepository=$DEPREPO
- mvn deploy -DskipTests=true -Ddeployment.releases.id=$DEPREPO -Ddeployment.releases.url=$DEPREPOURL -Ddeployment.snapshots.id=$DEPREPO -Ddeployment.snapshots.url=$DEPREPOSNAPURL
environment:
DEPREPO:
from_secret: deprepo
DEPREPOURL:
from_secret: deprepourl
DEPREPOSNAPURL:
from_secret: depreposnapurl
volumes:
- name: mvnrepo