Skip to content

Commit

Permalink
tweak book cicd (#8)
Browse files Browse the repository at this point in the history
* tweak book cicd

* run with pdm
  • Loading branch information
leifdenby authored May 10, 2024
1 parent de68885 commit 614c3d8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-docs-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -20,15 +20,16 @@ jobs:

- name: Setup PDM
uses: pdm-project/setup-pdm@v4
cache: true
with:
cache: true

- name: Install dependencies
run: pdm install --group docs

# 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
Expand Down

0 comments on commit 614c3d8

Please sign in to comment.