测试
Some checks failed
自动部署 Spring Boot 项目到 CentOS 🚀 / deploy (push) Failing after 46s

This commit is contained in:
huertian 2025-01-08 19:14:56 +08:00
parent 44598d9baa
commit ee22d4df35

View File

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