From 8489fde07e9698617e4e4fd6f99dd3ed8972b505 Mon Sep 17 00:00:00 2001 From: carlocagnetta Date: Thu, 2 Nov 2023 15:16:14 +0100 Subject: [PATCH] Publish compiled Jupyter books to github-pages --- .github/workflows/notebooks.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 3d736de..6af3556 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -30,5 +30,10 @@ jobs: - name: Install the project dependencies run: | poetry install --with dev - - name: notebooks - run: poetry run jupyter-book build notebooks \ No newline at end of file + - name: build books + run: poetry run jupyter-book build notebooks + - 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