From 882a32bdc0c5d2faf34160dc986433837d65bdd2 Mon Sep 17 00:00:00 2001 From: okk <153692773@qq.com> Date: Fri, 10 Feb 2023 17:49:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2d0ba6e..74b24ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,37 +9,6 @@ workspace: base: /opt/workspace path: work -volumes: -- name: m2 - host: - path: /root/.m2 -- name: dest - host: - path: /root/target - -steps: -- name: maven - image: maven:3-jdk-10 - volumes: - - name: m2 - path: /root/.m2 - - name: dest - path: /root/target - commands: - - mvn package - - mv target/webssh.war /root/target/ - -- name: ssh-deploy - image: appleboy/drone-ssh - settings: - host: - - 113.246.243.98 - username: root - password: wang199637 - port: 4221 - command_timeout: 2m - script: - - docker run -v /root/target/:/usr/local/tomcat/webapps/ -p61002:8080 -d tomcat:9.0 trigger: branch: - master