From 4a255bc7e357c51b9343533e4d139112dea59f66 Mon Sep 17 00:00:00 2001 From: okk <153692773@qq.com> Date: Tue, 31 Jan 2023 10:13:49 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4638b12..de3df62 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,9 +8,10 @@ platform: workspace: base: /opt/workspace - path: work - + path: work + steps: + - name: maven image: maven:3-jdk-10 commands: @@ -19,7 +20,7 @@ steps: image: tomcat commands: - cp target/webssh.war /usr/local/tomcat/webapps - - bash /usr/local/tomcat/bin/start.sh + - bash /usr/local/tomcat/bin/start.sh trigger: branch: