From 9182e8850b642fd7f34343e1e8d3c28c8ebc3484 Mon Sep 17 00:00:00 2001 From: z9130 <984661593@qq.com> Date: Tue, 17 Sep 2024 12:50:18 +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 | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index c8fd9d20..5f19e422 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -65,15 +65,4 @@ jobs: ls rsync -av --delete -e "ssh -o StrictHostKeyChecking=no -p ${{ vars.REMOTE_PORT }}" dist/ ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test echo "Files transferred." - - # Execute remote commands - # - name: Execute remote commands - # run: | - # echo "Executing remote commands..." - # sshpass -p "zx123123" ssh -o StrictHostKeyChecking=no root@172.19.183.27 << 'EOF' - # echo "Removing old files..." - # rm -rf /opt/pansoft/* - # echo "Old files removed." - # mv /opt/pansoft/dist/* /opt/pansoft/ - # echo "Deployment complete." - # EOF \ No newline at end of file + \ No newline at end of file