From 5537f92227c0cbad812f83c4374e589afbb17cbc Mon Sep 17 00:00:00 2001 From: Lixi20 Date: Fri, 4 Sep 2026 18:25:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20CI=20=E6=94=B9=E7=94=A8=20apt=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=20mkdocs=EF=BC=88=E9=81=BF=E5=85=8D=20PEP=20?= =?UTF-8?q?668=20externally-managed-environment=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b004447..17e0f04 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: git checkout -q refs/ci-head - name: Install mkdocs run: | - command -v pip3 >/dev/null || { apt-get update -qq && apt-get install -y -qq python3-pip; } - pip3 install -q -i https://mirrors.cloud.tencent.com/pypi/simple mkdocs + apt-get update -qq + apt-get install -y -qq --no-install-recommends mkdocs # 与本地门禁同一命令;exit 0 且零 warning 方可合入(git-workflow.md) - name: Build docs (strict) run: mkdocs build --strict -d /tmp/site