From 7220fa841d9ade80ffac13f91de9f0e890e52f6c Mon Sep 17 00:00:00 2001 From: okk <153692773@qq.com> Date: Tue, 31 Jan 2023 15:28:00 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 83f7be0..df95ffc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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/startup.sh +- name: tomcat-deploy + image: tomcat + commands: + - cp target/webssh.war /usr/local/tomcat/webapps + - bash /usr/local/tomcat/bin/start.sh trigger: branch: