From b23b8ae606735f1197d8d0b2f950b2b972603df7 Mon Sep 17 00:00:00 2001 From: okk <153692773@qq.com> Date: Tue, 31 Jan 2023 15:26:52 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 903e48f..83f7be0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,8 +14,8 @@ volumes: - name: m2 host: path: /root/.m2 - steps: + - name: maven image: maven:3-jdk-10 volumes: @@ -23,11 +23,11 @@ steps: path: /root/.m2 commands: - mvn install -- name: tomcat-deploy - image: tomcat - commands: - - cp target/webssh.war /usr/local/tomcat/webapps - - bash /usr/local/tomcat/bin/start.sh + - name: tomcat-deploy + image: tomcat + commands: + - cp target/webssh.war /usr/local/tomcat/webapps + - bash /usr/local/tomcat/bin/startup.sh trigger: branch: