Add git-action to compile notebooks

This commit is contained in:
carlocagnetta 2023-11-02 14:11:57 +01:00 committed by Michael Panchenko
parent 624998d2eb
commit b74ea40970

View File

@ -30,15 +30,5 @@ jobs:
- name: Install the project dependencies
run: |
poetry install --with dev
- name: build books
run: poetry run jupyter-book build notebooks
deploy:
runs-on: ubuntu-latest
needs: check
if: github.ref == 'refs/heads/master'
steps:
- name: Github Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./notebooks/_build/html
- name: notebooks
run: poetry run jupyter-book build notebooks