Open jpivarski opened 3 months ago
I just encountered the same issue. Did you find a solution? I haven't really looked into it yet.
I think I just fixed the output of the cookie recipe until it did work.
Yes: the last time the deployment ran, it succeeded. The deployment is accessible. (Ignore the content; it's far from done.)
The two commits that might be relevant are:
I don't see any other changes that I made to configuration files. (Sorry that the second one is mixed with edits of the content.)
Ok, here is a hot fix for everyone else, while this bug still persists: Since the cookie-cutter template wraps around the actual jupyter book, the build path is off in the github workflows.
In the deploy-book
action by .github/workflows/deploy.yml
, change the path as follows:
# Upload the book's HTML as an artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "{YOUR BOOK DIRECTORY}/_build/html"
I think I just fixed the output of the cookie recipe until it did work.
Yes: the last time the deployment ran, it succeeded. The deployment is accessible. (Ignore the content; it's far from done.)
The two commits that might be relevant are:
* [hsf-training/deep-learning-intro-for-hep@5cee3da](https://github.com/hsf-training/deep-learning-intro-for-hep/commit/5cee3da3538ddbb35ce9d1731d71af7ffc90aaaf) * [hsf-training/deep-learning-intro-for-hep@85516b7](https://github.com/hsf-training/deep-learning-intro-for-hep/commit/85516b761f3670fd52aabe7cd4201a955faaca11)
I don't see any other changes that I made to configuration files. (Sorry that the second one is mixed with edits of the content.)
Oops, just saw your reply. Sorry if you already gave the solution.
@chillerb, your information is much more specific and helpful than mine. I tried to turn your hot-fix into a permanent fix, #48, but it will need to be tested.
Describe the bug
With a new installation, the
deploy-book
action can't find the_build/html
directory. I haven't looked into it, but I think it's just pointing to the wrong path. (Building the book works fine offline.)https://github.com/hsf-training/deep-learning-intro-for-hep/actions/runs/10373712852/job/28719469125
Copy of output, in case the above gets deleted:
Reproduce the bug
See above.
List your environment