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

This commit is contained in:
huertian 2025-01-08 20:15:08 +08:00
parent 0e395fef32
commit 44a25e65a5

View File

@ -37,9 +37,7 @@ jobs:
run: ssh root@8.137.89.177 "mkdir -p /huertian && chmod 755 /huertian"
# 6⃣ 上传和部署
- name: 🚀 部署到服务器
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
- name: 配置 SSH
run: |
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa