From 58e505fab4326cb9037d930a969346e34735fae0 Mon Sep 17 00:00:00 2001 From: wrj97 Date: Mon, 1 Sep 2025 10:50:30 +0800 Subject: [PATCH] fix: github pages build failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复因submodule没有checkout导致构建失败 --- .github/workflows/pages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 38cfd3c..596382d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -16,6 +16,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: recursive + ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v4 with: node-version: 24