更新 .drone.yml
This commit is contained in:
parent
8121628333
commit
42a9daaf53
15
.drone.yml
15
.drone.yml
|
@ -105,18 +105,19 @@ steps:
|
|||
- name: scp files
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 106.52.175.114
|
||||
username: root
|
||||
password:
|
||||
from_secret: ssh_key3
|
||||
port: 22
|
||||
target: /apps/project/test/
|
||||
source: ./pom.xml
|
||||
host: 106.52.175.114
|
||||
username: root
|
||||
password:
|
||||
from_secret: ssh_key3
|
||||
port: 22
|
||||
target: /apps/project/test/
|
||||
source: ./pom.xml
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- web4-start # 判断promote 的 Target 参数 , 只有当相同时触发
|
||||
|
||||
- name: rebuild cache # 构建缓存
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue