11
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
gxl 2026-06-25 14:12:32 +08:00
parent bd5f84d11f
commit 401a87ddcf
1 changed files with 11 additions and 11 deletions

View File

@ -27,16 +27,16 @@ steps:
when:
event: push
branch: master
- name: 调试-查看工作目录文件
image: alpine:latest # 使用一个轻量级的 Linux 镜像
commands: # 普通步骤,使用 commands
- pwd # 打印当前目录
- ls -la # 列出所有文件
- find . -name "*.yml" # 查找所有 .yml 文件
when:
event: push
branch: master
#
# - name: 调试-查看工作目录文件
# image: alpine:latest # 使用一个轻量级的 Linux 镜像
# commands: # 普通步骤,使用 commands
# - pwd # 打印当前目录
# - ls -la # 列出所有文件
# - find . -name "*.yml" # 查找所有 .yml 文件
# when:
# event: push
# branch: master
# ============ 新增步骤 1上传 docker-compose.yml ============
- name: 上传编排文件
@ -50,7 +50,7 @@ steps:
from_secret: 136_ssh_password
# 要上传的本地文件(相对于工作空间根目录)
source:
- docker-compose.yml
- ./docker-compose.yml
# 远程服务器目标目录(如果不存在会自动创建)
target: /opt/demo-app
# 自动创建目标目录