This commit is contained in:
parent
0e395fef32
commit
44a25e65a5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user