修改打包目录
This commit is contained in:
@@ -18,7 +18,7 @@ steps:
|
||||
image: docker.1ms.run/library/alpine:latest
|
||||
commands:
|
||||
- apk add --no-cache tar
|
||||
- tar czf feishu-approval.tar.gz --exclude=.git --exclude=feishu-approval.tar.gz .
|
||||
- tar czf /tmp/feishu-approval.tar.gz --exclude=.git -C . .
|
||||
|
||||
- name: upload
|
||||
image: appleboy/drone-scp:1.6.14
|
||||
@@ -32,7 +32,7 @@ steps:
|
||||
port: 22
|
||||
target: /tmp
|
||||
source:
|
||||
- feishu-approval.tar.gz
|
||||
- /tmp/feishu-approval.tar.gz
|
||||
overwrite: true
|
||||
|
||||
- name: deploy
|
||||
|
||||
Reference in New Issue
Block a user