Fix action gh-pages

This commit is contained in:
carlocagnetta 2023-11-10 14:12:38 +01:00 committed by Michael Panchenko
parent ca2e4a1d96
commit fb97091a92

View File

@ -30,8 +30,10 @@ jobs:
- name: Install the project dependencies - name: Install the project dependencies
run: | run: |
poetry install --with dev poetry install --with dev
- name: convert sphinx
run: jupyter-book config sphinx docs/
- name: build books - name: build books
run: poetry run jupyter-book build notebooks run: poetry run jupyter-book build docs
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: check needs: check
@ -41,4 +43,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v3.6.1 uses: peaceiris/actions-gh-pages@v3.6.1
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/notebooks/_build/html publish_dir: ./docs/_build/html