From bbe5da41f7051902561701b53e2cb1396b112713 Mon Sep 17 00:00:00 2001 From: carlocagnetta Date: Thu, 2 Nov 2023 15:16:14 +0100 Subject: [PATCH] Add compiled books for documentation --- .github/workflows/notebooks.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 3d736de..e2ab8a9 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -30,5 +30,13 @@ 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 + notebooks: + runs-on: ubuntu-latest + steps: + - 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: ./_build/html \ No newline at end of file