From 4a6686f340ad6bcd8479ec204748ea7bcedb4099 Mon Sep 17 00:00:00 2001 From: Andres Chamorro Date: Mon, 2 Dec 2024 14:35:31 -0500 Subject: [PATCH] rm working dir, use cd instead --- .github/workflows/gh-pages.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d5523d6..07e5b71 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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