fix: use venv for pip install to avoid externally-managed-environment
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
All checks were successful
Deploy Docs / deploy (push) Successful in 23s
This commit is contained in:
parent
cff4e8c8ee
commit
7c1143befc
1 changed files with 6 additions and 2 deletions
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue