修改打包目录
This commit is contained in:
@@ -18,7 +18,7 @@ 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 feishu-approval.tar.gz --exclude=.git --exclude=feishu-approval.tar.gz .
|
- tar czf /tmp/feishu-approval.tar.gz --exclude=.git -C . .
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
image: appleboy/drone-scp:1.6.14
|
image: appleboy/drone-scp:1.6.14
|
||||||
@@ -32,7 +32,7 @@ steps:
|
|||||||
port: 22
|
port: 22
|
||||||
target: /tmp
|
target: /tmp
|
||||||
source:
|
source:
|
||||||
- feishu-approval.tar.gz
|
- /tmp/feishu-approval.tar.gz
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user