Add git-action to compile notebooks
This commit is contained in:
parent
624998d2eb
commit
b74ea40970
14
.github/workflows/notebooks.yml
vendored
14
.github/workflows/notebooks.yml
vendored
@ -30,15 +30,5 @@ jobs:
|
|||||||
- name: Install the project dependencies
|
- name: Install the project dependencies
|
||||||
run: |
|
run: |
|
||||||
poetry install --with dev
|
poetry install --with dev
|
||||||
- name: build books
|
- name: notebooks
|
||||||
run: poetry run jupyter-book build notebooks
|
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
|
|
Loading…
x
Reference in New Issue
Block a user