Browse Source

update drone

interface
weishao 2 years ago
parent
commit
2a337b1db3
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      .drone.yml

+ 6
- 0
.drone.yml View File

@@ -22,6 +22,9 @@ steps:
- mv target/webssh.war /home/wars/
- name: restart
image: docker
volumes:
- name: docker-dir
path: /var/run/docker.sock
commands:
- docker restart laughing_murdock

@@ -32,6 +35,9 @@ volumes:
- name: maven-dir
host:
path: /home/ww/m2/repository
- name: docker-dir
host:
path: /var/run/docker.sock

trigger:
branch:

Loading…
Cancel
Save