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