Browse Source

update pipeline for master branch

master
parent
commit
af7d4f609e
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      .drone.yml

+ 4
- 4
.drone.yml View File

@@ -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


Loading…
Cancel
Save