更新 .drone.yml
This commit is contained in:
parent
1b807ab2ff
commit
2503b61242
17
.drone.yml
17
.drone.yml
|
@ -101,7 +101,22 @@ steps:
|
|||
- promote
|
||||
target:
|
||||
- web3-start # 判断promote 的 Target 参数 , 只有当相同时触发
|
||||
|
||||
|
||||
- name: scp files
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: 106.52.175.114
|
||||
username: root
|
||||
password:
|
||||
from_secret: ssh_key2
|
||||
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