try
Some checks failed
自动部署 Spring Boot 项目到 CentOS 🚀 / deploy (push) Has been cancelled

This commit is contained in:
huertian 2025-01-08 19:16:44 +08:00
parent ee22d4df35
commit 97402046b6

View File

@ -38,7 +38,7 @@ jobs:
ssh-keyscan -H 8.137.89.177 >> ~/.ssh/known_hosts
# 上传 JAR 包到服务器 📤
scp target/jinduguanli-0.0.1-SNAPSHOT.jar root@8.137.89.177:/jinduguanli/app.jar
scp target/jinduguanli-0.0.1-SNAPSHOT.jar root@8.137.89.177:/huertian/app.jar
# 在服务器上重启应用 🔄
ssh root@8.137.89.177 << 'EOF'