更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Successful in 2m18s
Details
Frontend CI/CD / build (web-office) (push) Successful in 2m18s
Details
This commit is contained in:
parent
3b0652f5fd
commit
9182e8850b
|
@ -66,14 +66,3 @@ jobs:
|
||||||
rsync -av --delete -e "ssh -o StrictHostKeyChecking=no -p ${{ vars.REMOTE_PORT }}" dist/ ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test
|
rsync -av --delete -e "ssh -o StrictHostKeyChecking=no -p ${{ vars.REMOTE_PORT }}" dist/ ${{ vars.REMOTE_USER }}@${{ vars.REMOTE_HOST }}:/opt/test
|
||||||
echo "Files transferred."
|
echo "Files transferred."
|
||||||
|
|
||||||
# Execute remote commands
|
|
||||||
# - name: Execute remote commands
|
|
||||||
# run: |
|
|
||||||
# echo "Executing remote commands..."
|
|
||||||
# sshpass -p "zx123123" ssh -o StrictHostKeyChecking=no root@172.19.183.27 << 'EOF'
|
|
||||||
# echo "Removing old files..."
|
|
||||||
# rm -rf /opt/pansoft/*
|
|
||||||
# echo "Old files removed."
|
|
||||||
# mv /opt/pansoft/dist/* /opt/pansoft/
|
|
||||||
# echo "Deployment complete."
|
|
||||||
# EOF
|
|
Loading…
Reference in New Issue