From 9d7e3be2de51e194eaa57e7eb82062007a01166b Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Tue, 17 Sep 2024 11:59:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build-act?= =?UTF-8?q?ion.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index d0123398..67b8b7b2 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -63,8 +63,7 @@ jobs: cd pansoft-plrl/apps/web-office echo "Local files in the directory:" ls - rsync -av --delete -e "ssh -o StrictHostKeyChecking=no -p ${{ vars.REMOTE_PORT }}" . ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test - # scp -o StrictHostKeyChecking=no -r index.html root@9.107.158.16:/opt/pansoft + rsync -av --delete -e "ssh -o StrictHostKeyChecking=no -p ${{ vars.REMOTE_PORT }}" index.html ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test echo "Files transferred." # Execute remote commands