Publish notebooks only from master

This commit is contained in:
carlocagnetta 2023-11-02 16:41:03 +01:00 committed by Michael Panchenko
parent 8489fde07e
commit 3a87b33d4f

View File

@ -32,6 +32,11 @@ jobs:
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: