Publish notebooks only on master

This commit is contained in:
carlocagnetta 2023-11-02 16:41:03 +01:00 committed by Michael Panchenko
parent 0108726dfe
commit 30fc884078

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: test
if: github.ref == 'refs/heads/master'
steps:
- name: Github Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with: