From 1aa6ebaf1dae928273df154de28c3925f23ee22a Mon Sep 17 00:00:00 2001 From: Ruslan Penkrat Date: Sun, 15 Aug 2021 07:47:46 +0300 Subject: [PATCH] add deploy config --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index a60430a..f7ec4e5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,17 @@ steps: 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: