Skip to content

Commit 005bf23

Browse files
committed
Documentation deployment fix
1 parent c79ccbc commit 005bf23

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/publish-docs.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,19 @@ jobs:
1818
with:
1919
python-version: 3.9
2020

21+
- name: Install Poetry
22+
run: |
23+
curl -sSL https://install.python-poetry.org | python -
24+
export PATH="$HOME/.poetry/bin:$PATH"
25+
poetry --version
26+
2127
- name: Install Dependencies and Build Documentation
2228
run: |
23-
sudo apt-get install python3-sphinx
24-
pip install sphinx-rtd-theme
29+
poetry install -E docs
2530
cd docs
26-
make html
31+
poetry run make html
32+
env:
33+
POETRY_VIRTUALENVS_IN_PROJECT: true
2734

2835
- name: Deploy documentation.
2936
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)