From 464880a61779e01bdf94b9106d2b36d9c7169419 Mon Sep 17 00:00:00 2001 From: David Perez-Suarez Date: Wed, 12 Feb 2025 18:52:16 +0000 Subject: [PATCH] Tries to build jupyter-lite where it can --- .github/workflows/build_site.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_site.yml b/.github/workflows/build_site.yml index ed8de14e..efd8c79b 100644 --- a/.github/workflows/build_site.yml +++ b/.github/workflows/build_site.yml @@ -51,9 +51,9 @@ jobs: run: | find . -type d -name .pytest_cache -o -name .ruff_cache -o -name .doctrees | xargs rm -rf mkdir contents - mkdir _site/jupyter-lite + sudo mkdir _site/jupyter-lite # sudo because jekyll-build-pages creates the directory as a different user find ch*/ -type f -name '*.ipynb' ! -name '*.nbconvert.ipynb' -exec rsync -R {} contents/ \; - jupyter lite build --contents contents --output-dir _site/jupyter-lite + sudo jupyter lite build --contents contents --output-dir _site/jupyter-lite - name: Upload artifact uses: actions/upload-pages-artifact@v3