更新 .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:26:56 +08:00
parent 8121628333
commit 42a9daaf53
1 changed files with 8 additions and 7 deletions

View File

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