更新 .drone.yml
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/promote/web4-start Build is failing Details

This commit is contained in:
zeiss 2024-04-23 11:05:00 +08:00
parent 1b807ab2ff
commit 2503b61242
1 changed files with 16 additions and 1 deletions

View File

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