From 9ebb02f7c72b723d8855f1ef2e11b355daa4ae0e Mon Sep 17 00:00:00 2001 From: anfu Date: Thu, 11 Jun 2026 17:52:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B8=E5=AF=B9=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b2c2299..7f07beb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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