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"
|
run: ssh root@8.137.89.177 "mkdir -p /huertian && chmod 755 /huertian"
|
||||||
|
|
||||||
# 6️⃣ 上传和部署
|
# 6️⃣ 上传和部署
|
||||||
- name: 🚀 部署到服务器
|
- name: 配置 SSH
|
||||||
env:
|
|
||||||
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
|
||||||
run: |
|
run: |
|
||||||
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
|
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
Loading…
Reference in New Issue
Block a user