Skip to content

Commit 680c1b4

Browse files
committed
Upload an artifact so we can preview on jupyterbook.pub
1 parent 2d0648b commit 680c1b4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci_publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ jobs:
4040
- name: Execute notebooks while building HTMLs
4141
run: tox -e py312-buildhtml
4242

43+
- name: Zip up the entire directory to upload as an artifact
44+
run: |
45+
zip -r full-book.zip .
46+
47+
- name: Upload zipped full book artifact
48+
uses: actions/upload-artifact@v6
49+
with:
50+
name: full-book
51+
path: ./full-book.zip
52+
4353
- name: Publish
4454
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
4555
with:

0 commit comments

Comments
 (0)