Publish notebooks only from master
This commit is contained in:
parent
8489fde07e
commit
3a87b33d4f
5
.github/workflows/notebooks.yml
vendored
5
.github/workflows/notebooks.yml
vendored
@ -32,6 +32,11 @@ jobs:
|
|||||||
poetry install --with dev
|
poetry install --with dev
|
||||||
- name: build books
|
- name: build books
|
||||||
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
|
- name: Github Pages action
|
||||||
uses: peaceiris/actions-gh-pages@v3.6.1
|
uses: peaceiris/actions-gh-pages@v3.6.1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user