fix: use venv for pip install to avoid externally-managed-environment
All checks were successful
Deploy Docs / deploy (push) Successful in 23s

This commit is contained in:
Tolaria 2026-06-03 18:17:17 +08:00
parent cff4e8c8ee
commit 7c1143befc

View file

@ -12,11 +12,15 @@ jobs:
fetch-depth: 0
- run: |
apt-get update && apt-get install -y python3 python3-pip
apt-get update && apt-get install -y python3 python3-pip python3-venv
python3 -m venv /tmp/venv
. /tmp/venv/bin/activate
python3 --version
pip3 install zensical
- run: zensical build --clean
- run: |
. /tmp/venv/bin/activate
zensical build --clean
- name: Deploy to pages branch
run: |