From af7d4f609e886c8c3d8d856e2361046590ac44d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E7=BA=A7=E4=BA=91=E8=84=91=E7=A0=94=E5=8F=91?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E5=B8=88?= <153692773@qq.com> Date: Fri, 3 Mar 2023 11:01:10 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index f8560ac..26c31aa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,19 +11,19 @@ volumes: path: /var/lib/cache steps: - name: maven - image: maven:3-jdk-8 + image: maven:3-jdk-10 volumes: - name: cache path: /root/.m2 commands: - mvn compile - name: test - image: maven:3-jdk-8 + image: maven:3-jdk-10 volumes: - name: cache path: /root/.m2 commands: - - mvn test + - mvn test - name: 远程主机部署 image: appleboy/drone-ssh:linux-arm64 @@ -37,7 +37,7 @@ steps: port: 22 script: - chmod +x /home/deploy.sh - - nohup bash /home/deploy.sh & + - nohup bash /home/deploy.sh & trigger: branch: - master