-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,17 +34,18 @@ jobs: | |
# Note that we the circleci node image installs stuff with a user "circleci", rather | ||
# than root. So we need to tell npm where to install stuff. | ||
command: | | ||
python3 -m venv venv | ||
. venv/bin/activate | ||
pip install -r ./docs/requirements.txt | ||
pip install -U pip uv | ||
uv venv | ||
source .venv/bin/activate | ||
uv pip install -r ./docs/requirements.txt | ||
- save_cache: | ||
paths: | ||
- ./venv | ||
key: v2-dependencies-python3.10-{{ checksum "./docs/requirements.txt" }} | ||
- run: | ||
name: Build docs | ||
command: | | ||
. venv/bin/activate | ||
source .venv/bin/activate | ||
cd docs/ | ||
make deploy_docs | ||
cd .. | ||
|
@@ -67,9 +68,9 @@ jobs: | |
command: | | ||
npm set prefix=/home/circleci/npm | ||
npm install -g --silent [email protected] | ||
python3 -m venv venv | ||
. venv/bin/activate | ||
pip install -r ./docs/requirements.txt | ||
pip install -U pip uv | ||
uv venv | ||
source .venv/bin/activate | ||
- save_cache: | ||
paths: | ||
- ./venv | ||
|
@@ -85,7 +86,7 @@ jobs: | |
# (This file tell Github Pages that we want to include all files in docs/, including those | ||
# that start with an underscore like _static/). | ||
command: | | ||
. venv/bin/activate | ||
source .venv/bin/activate | ||
cd docs/ | ||
make deploy_docs | ||
cd .. | ||
|