更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Successful in 13s Details

This commit is contained in:
z9130 2024-09-17 11:59:04 +08:00
parent 631d63ed1a
commit 9d7e3be2de
1 changed files with 1 additions and 2 deletions

View File

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