Skip to content

Commit b9d2f59

Browse files
committed
Ship only the _build directory
Otherwise we get multi gigabyte artifacts
1 parent a8df176 commit b9d2f59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci_publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
# Run this even if previous step fails, so we can preview the run output
4545
if: always()
4646
run: |
47-
zip -r full-book.zip .
47+
# Zip up the full _build/* directory, so jupyterbook.pub can render them
48+
# In the future, we should be able to ship just our notebooks + the execution outputs
49+
zip -r full-book.zip _build/*
4850
4951
- name: Upload zipped full book artifact
5052
uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)