修改scp target问题(target必须是目录,而不是文件)
Some checks failed
CI / Docker-Build (push) Failing after 1m9s

This commit is contained in:
soul-walker 2024-03-20 22:31:50 +08:00
parent ab15fcf568
commit 7a37876dc4

View File

@ -28,7 +28,7 @@ jobs:
yarn config set registry https://registry.npmmirror.com
yarn
yarn run build:test
tar czvf ./dist.tar.gz ./dist
tar czvf ./dist-test.tar.gz ./dist
- name: 打包发送到本地测试环境
uses: https://gitea.joylink.club/appleboy/scp-action@v0.1.7
with:
@ -36,8 +36,8 @@ jobs:
username: ${{ secrets.LOCAL_233_SSH_USER }}
password: ${{ secrets.LOCAL_233_SSH_PASSWORD }}
port: ${{ secrets.LOCAL_233_SSH_PORT }}
source: ./dist.tar.gz
target: /home/minio/oss/rts-sim-testing-client/dist-test.tar.gz
source: ./dist-test.tar.gz
target: /home/minio/oss/rts-sim-testing-client
- name: SSH连接233并解压发布
uses: https://gitea.joylink.club/appleboy/ssh-action@v1.0.3
with: