From 479855074236a4fed489d8e188cb6fac0be75922 Mon Sep 17 00:00:00 2001 From: Teresa Pelinski Date: Thu, 8 Aug 2024 15:10:21 +0100 Subject: [PATCH] using pipenv shell instead of pipenv run --- .github/workflows/deploy-docs.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index bbaf86b..de679ec 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -18,15 +18,20 @@ jobs: with: python-version: '3.9' # Specify the Python version you need - - name: Install dependencies and build docs + - name: Install dependencies env: PIPENV_VENV_IN_PROJECT: true run: | python -m pip install --upgrade pip pip install pipenv pipenv install -d - pipenv run pandoc -s readme.md -o docs/readme.rst - pipenv run sphinx-build -M html docs/ docs/_build + pipenv run pip-chill + + - name: Build documentation + run: | + pipenv shell + pandoc -s readme.md -o docs/readme.rst + sphinx-build -M html docs/ docs/_build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3