更新 .gitea/workflows/build-action.yaml

This commit is contained in:
z9130 2024-09-17 11:58:23 +08:00
parent 4aa97b39e4
commit 631d63ed1a
1 changed files with 2 additions and 2 deletions

View File

@ -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