From 3b696406a0c875cf67429588c3e761b026fa094b Mon Sep 17 00:00:00 2001 From: CL <62653664+Chen-Luan@users.noreply.github.com> Date: Sun, 27 Jul 2025 00:30:17 +0800 Subject: [PATCH 1/4] test From fa2a487e72d69c2b7b8330b575a92c49e599d3fa Mon Sep 17 00:00:00 2001 From: CL <62653664+Chen-Luan@users.noreply.github.com> Date: Sun, 27 Jul 2025 00:36:51 +0800 Subject: [PATCH 2/4] =?UTF-8?q?Workflow:=20=E5=A2=9E=E5=8A=A0=E5=AF=B9=20p?= =?UTF-8?q?r=20=E7=9A=84=E9=A1=B5=E9=9D=A2=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65ae0af..8b818ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,9 @@ on: push: branches: - main + pull_request: + branches: + - main permissions: contents: write jobs: @@ -24,7 +27,11 @@ jobs: path: .cache restore-keys: | mkdocs-material- - - run: pip install jieba - - run: pip install mkdocs-material - - run: pip install mkdocs-static-i18n - - run: mkdocs gh-deploy --force + - name: Install dependencies + run: pip install mkdocs-material mkdocs-static-i18n jieba + - name: Build for Pull Request check + if: github.event_name == 'pull_request' + run: mkdocs build --verbose + - name: Deploy to gh-pages + if: github.event_name == 'push' && github.ref == 'refs/heads/main' + run: mkdocs gh-deploy --force From 97b07c7e98dead9447de310e201b82b9ed114d2b Mon Sep 17 00:00:00 2001 From: CL <62653664+Chen-Luan@users.noreply.github.com> Date: Sun, 27 Jul 2025 00:49:16 +0800 Subject: [PATCH 3/4] test pr --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a124039..2531a65 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,4 @@ 在您参与贡献后,我们将会在 database/contributions.md 中公开展示您的姓名表示感谢! 如果您对我们的其他项目感兴趣,希望深度参与我们的开发,也随时欢迎 [申请加入我们](http://chenluan.mikecrm.com/JeKq3DU)! + From 3b0821188ddfe90574fd9890bbb2be109edbe934 Mon Sep 17 00:00:00 2001 From: CL <62653664+Chen-Luan@users.noreply.github.com> Date: Sun, 27 Jul 2025 01:01:48 +0800 Subject: [PATCH 4/4] test --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 2531a65..a124039 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,3 @@ 在您参与贡献后,我们将会在 database/contributions.md 中公开展示您的姓名表示感谢! 如果您对我们的其他项目感兴趣,希望深度参与我们的开发,也随时欢迎 [申请加入我们](http://chenluan.mikecrm.com/JeKq3DU)! -