Skip to content

Commit

Permalink
Merge pull request #97 from worldbank/fix/action-venv
Browse files Browse the repository at this point in the history
rm working dir, use cd instead
  • Loading branch information
andresfchamorro authored Dec 2, 2024
2 parents 81eb5b9 + 4a6686f commit 8e006d6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ jobs:
python-version: "3.11"
cache: "pip"
- name: Install Dependencies
working-directory: space2stats_api/src
run: |
if [ -f pyproject.toml ]; then
python3 -m venv book
source book/bin/activate
pip install poetry
poetry install --with docs
fi
python3 -m venv book
source book/bin/activate
cd space2stats_api/src
pip install poetry
poetry install --with docs
cd ../../
- name: Build Jupyter Book using Sphinx
run: |
source book/bin/activate
Expand Down

0 comments on commit 8e006d6

Please sign in to comment.