修改相对目录
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
commands:
- 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
image: appleboy/drone-scp
@@ -33,7 +34,8 @@ steps:
port: 22
target: /tmp
source:
- /tmp/feishu-approval.tar.gz
- dist/feishu-approval.tar.gz
strip_components: 1
overwrite: true
- name: deploy