mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
Preprocess with teachbooks pkg
This commit is contained in:
parent
3c0fb4389e
commit
3bc40cc4b9
1 changed files with 6 additions and 0 deletions
6
.github/workflows/deploy-book-ghpages.yml
vendored
6
.github/workflows/deploy-book-ghpages.yml
vendored
|
|
@ -72,6 +72,12 @@ jobs:
|
|||
- if: ${{ steps.cache-html.outputs.cache-hit != 'true' }}
|
||||
name: Preprocess & build the book from branch
|
||||
run: |
|
||||
echo $PATH
|
||||
pip install --user teachbooks --extra-index-url https://gitlab.tudelft.nl/api/v4/projects/13957/packages/pypi/simple
|
||||
cat book/_toc.yml
|
||||
teachbooks build --publish --process-only book/
|
||||
mv book/.psorbooks/publish/_toc.yml book/.psorbooks/publish/_config.yml book/
|
||||
cat book/_toc.yml
|
||||
jupyter-book build book/
|
||||
|
||||
- name: Upload the built book HTML as an artifact
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue