From 724a22e48d5541153e87e9e1cd643ddcdf878e0f Mon Sep 17 00:00:00 2001 From: cflmy Date: Fri, 28 Aug 2026 12:15:20 +0800 Subject: [PATCH] fix(ci): exclude import helpers with path-scoped ?? pattern MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Literal 工具.mq.md in the workflow shell can fail to match on runners; limit ?? to structure/import so utils/工具 are skipped without dropping other two-character public docs (数学, 文本, …). Co-authored-by: Cursor --- .github/workflows/pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 4b94234..9bae56a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -29,7 +29,7 @@ jobs: run: | cargo build --release # Skip import helpers (no `# main`); exclude both EN/ZH names. - find public -name '*.mq.md' ! -name 'utils.mq.md' ! -name '工具.mq.md' -print0 \ + find public -name '*.mq.md' ! -path '*/structure/import/utils.mq.md' ! -path '*/structure/import/??.mq.md' -print0 \ | xargs -0 -n1 ./target/release/marqdo run ./target/release/marqdo view output public -o public