diff --git a/.gitea/workflows/build-action.yaml b/.gitea/workflows/build-action.yaml index c50330d7..d0123398 100644 --- a/.gitea/workflows/build-action.yaml +++ b/.gitea/workflows/build-action.yaml @@ -63,8 +63,8 @@ jobs: cd pansoft-plrl/apps/web-office echo "Local files in the directory:" ls - rsync -av --delete -e "ssh -p ${{ vars.REMOTE_PORT }}" /opt/dockerfile/ ${{ 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 }}" . ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test + # scp -o StrictHostKeyChecking=no -r index.html root@9.107.158.16:/opt/pansoft echo "Files transferred." # Execute remote commands