Fix action gh-pages
This commit is contained in:
parent
ca2e4a1d96
commit
fb97091a92
6
.github/workflows/notebooks.yml
vendored
6
.github/workflows/notebooks.yml
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user