From 35519fffe49ba0e894fe0689410bb5673106f565 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 25 Mar 2026 12:43:35 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=20workflow=20?= =?UTF-8?q?=E6=89=8B=E5=8A=A8=E6=B7=BB=E5=8A=A0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 0093d31..c62b12e 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,16 @@ mkdocs serve 推送到 `main` 分支后,GitHub Actions 会自动构建并部署到 GitHub Pages。 +### ⚠️ 首次设置 + +GitHub Actions workflow 文件需要手动添加(需要 `workflow` 权限的 token): + +1. 在 GitHub 网页上进入仓库 +2. 点击 "Add file" → "Create new file" +3. 文件路径输入 `.github/workflows/deploy.yml` +4. 粘贴 [deploy.yml 内容](.github/workflows/deploy.yml)(本地 repo 中已有) +5. 提交即可触发自动部署 + ## 📝 License MIT