更新 .gitea/workflows/build-action.yaml
This commit is contained in:
parent
4aa97b39e4
commit
631d63ed1a
|
@ -63,8 +63,8 @@ jobs:
|
||||||
cd pansoft-plrl/apps/web-office
|
cd pansoft-plrl/apps/web-office
|
||||||
echo "Local files in the directory:"
|
echo "Local files in the directory:"
|
||||||
ls
|
ls
|
||||||
rsync -av --delete -e "ssh -p ${{ vars.REMOTE_PORT }}" /opt/dockerfile/ ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test
|
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
|
# scp -o StrictHostKeyChecking=no -r index.html root@9.107.158.16:/opt/pansoft
|
||||||
echo "Files transferred."
|
echo "Files transferred."
|
||||||
|
|
||||||
# Execute remote commands
|
# Execute remote commands
|
||||||
|
|
Loading…
Reference in New Issue