Skip to content

Commit

Permalink
using pipenv shell instead of pipenv run
Browse files Browse the repository at this point in the history
  • Loading branch information
pelinski committed Aug 8, 2024
1 parent 52ffe12 commit 4798550
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4798550

Please sign in to comment.