Browse Source

更新 '.drone.yml'

interface
parent
commit
8e0f98b9b2
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      .drone.yml

+ 7
- 1
.drone.yml View File

@@ -14,6 +14,9 @@ volumes:
- name: m2
host:
path: /root/.m2
- name: dest
host:
path: /root/target

steps:
- name: maven
@@ -21,9 +24,12 @@ steps:
volumes:
- name: m2
path: /root/.m2
- name: dest
path: /root/target
commands:
- mvn package
- sleep 60
- mv target/* /root/target
- sleep 100
- name: ssh-deploy
image: appleboy/drone-ssh


Loading…
Cancel
Save