From 614c3d88952c306b1959573939d79e3954a08732 Mon Sep 17 00:00:00 2001 From: Leif Denby Date: Fri, 10 May 2024 10:51:54 +0200 Subject: [PATCH] tweak book cicd (#8) * tweak book cicd * run with pdm --- .github/workflows/deploy-docs-book.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs-book.yml b/.github/workflows/deploy-docs-book.yml index 55d8d28..8ae3a71 100644 --- a/.github/workflows/deploy-docs-book.yml +++ b/.github/workflows/deploy-docs-book.yml @@ -6,7 +6,7 @@ on: branches: - master - main - - jupyterbook-docs + - jupyterbook-docs* # This job installs dependencies, builds the book, and pushes it to `gh-pages` jobs: @@ -20,7 +20,8 @@ jobs: - name: Setup PDM uses: pdm-project/setup-pdm@v4 - cache: true + with: + cache: true - name: Install dependencies run: pdm install --group docs @@ -28,7 +29,7 @@ jobs: # Build the book - name: Build the book run: | - LOGURU_LEVEL=WARNING jupyter-book build docs/ + LOGURU_LEVEL=WARNING pdm run jupyter-book build docs/ # Upload the book's HTML as an artifact - name: Upload artifact