From b74ea4097079db38af0cd495a368da3e2614b05f Mon Sep 17 00:00:00 2001 From: carlocagnetta Date: Thu, 2 Nov 2023 14:11:57 +0100 Subject: [PATCH] Add git-action to compile notebooks --- .github/workflows/notebooks.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 7c65213..3d736de 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -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 \ No newline at end of file + - name: notebooks + run: poetry run jupyter-book build notebooks \ No newline at end of file