修改相对目录
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-06-11 17:52:20 +08:00
parent 3ac99b8484
commit 9ebb02f7c7

View File

@@ -18,7 +18,8 @@ steps:
image: docker.1ms.run/library/alpine:latest image: docker.1ms.run/library/alpine:latest
commands: commands:
- apk add --no-cache tar - apk add --no-cache tar
- tar czf /tmp/feishu-approval.tar.gz --exclude=.git -C . . - mkdir -p dist
- tar czf dist/feishu-approval.tar.gz --exclude=.git --exclude=dist -C . .
- name: upload - name: upload
image: appleboy/drone-scp image: appleboy/drone-scp
@@ -33,7 +34,8 @@ steps:
port: 22 port: 22
target: /tmp target: /tmp
source: source:
- /tmp/feishu-approval.tar.gz - dist/feishu-approval.tar.gz
strip_components: 1
overwrite: true overwrite: true
- name: deploy - name: deploy