From 44a25e65a5f63791bc1ae520b2684d8e75ca74a1 Mon Sep 17 00:00:00 2001 From: huertian Date: Wed, 8 Jan 2025 20:15:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1ae278c..ccf8659 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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