Skip to content

Commit

Permalink
manually activate venv
Browse files Browse the repository at this point in the history
  • Loading branch information
pelinski committed Aug 8, 2024
1 parent ff6a2f4 commit 207827a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,20 @@ jobs:
with:
python-version: '3.9' # Specify the Python version you need

- name: Install dependencies
- name: Install dependencies and activate virtual environment
env:
PIPENV_VENV_IN_PROJECT: true
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install -d
echo "pwd:!!" && pwd
export VENV_HOME_DIR=$(pipenv --venv)
source $VENV_HOME_DIR/bin/activate
- name: Build documentation
run: |
pipenv run pandoc -s readme.md -o docs/readme.rst
pipenv run sphinx-build -M html docs/ docs/_build
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 207827a

Please sign in to comment.