v1
Some checks failed
Gitea Actions Demo / build-and-deploy-to-local-server (push) Successful in 1m52s
Gitea Actions Demo / deploy-to-remote-server (push) Has been cancelled

This commit is contained in:
2025-06-10 21:59:14 +08:00
parent d579a52a7f
commit c0364ddf3d

View File

@ -35,5 +35,5 @@ jobs:
steps: steps:
- name: Deploy to remote server - name: Deploy to remote server
run: | run: |
ssh root@1970666.xyz "rm -rf /root/docker/docker-nginx/html/blog" ssh -i /Users/konjacpotato/.ssh/id_rsa root@1970666.xyz "rm -rf /root/docker/docker-nginx/html/blog"
scp -r /Users/konjacpotato/Workspace/docker/docker-nginx/html/blog root@1970666.xyz:/root/docker/docker-nginx/html/ scp -i /Users/konjacpotato/.ssh/id_rsa -r /workspace/docker/docker-nginx/html/blog root@1970666.xyz:/root/docker/docker-nginx/html/