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