Skip to content

Commit

Permalink
Preserve directory structure
Browse files Browse the repository at this point in the history
Co-authored-by: David Pérez-Suárez <[email protected]>
  • Loading branch information
Saransh-cpp and dpshelio authored Sep 6, 2024
1 parent 7189dd1 commit f8290e8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build_site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,10 @@ jobs:
run: bundle exec jekyll build
- name: Build the JupyterLite site
run: |
rm -rf `find . -type d -name .pytest_cache`
rm -rf `find . -type d -name .ruff_cache`
rm -rf `find . -type d -name .doctrees`
find . -type d -name .pytest_cache -o -name .ruff_cache -o -name .doctrees` | xargs rm -rf
mkdir content
mkdir _site/jupyter-lite
cp -R ch*/*.ipynb content
find ./ -wholename 'ch*/*.ipynb' -exec cp --parents {} content \;
jupyter lite build --contents content --output-dir _site/jupyter-lite
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit f8290e8

Please sign in to comment.