mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
[Feature] Use PyPI version of teachbooks
This commit is contained in:
parent
b9e8e71a59
commit
733fa8a6d4
2 changed files with 1 additions and 6 deletions
5
.github/workflows/deploy-book-ghpages.yml
vendored
5
.github/workflows/deploy-book-ghpages.yml
vendored
|
|
@ -93,11 +93,6 @@ jobs:
|
|||
name: Preprocess & build the book from branch
|
||||
run: |
|
||||
echo $PATH
|
||||
# Install wrapper
|
||||
# NOTE: teachbooks is already installed w requirements.txt, however not on PATH
|
||||
# Installing with --user fixes this.
|
||||
# TODO remove --extra-index-url once teachbooks is on PyPI
|
||||
pip install --user teachbooks --extra-index-url https://gitlab.tudelft.nl/api/v4/projects/13957/packages/pypi/simple
|
||||
if [ ${{matrix.branch}} == $PRIMARY_BRANCH ]; then
|
||||
teachbooks build --publish book/
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# first list the packages you wish to download from PyPI
|
||||
jupyter-book
|
||||
teachbooks # depends on jupyter-book
|
||||
# numpy
|
||||
|
||||
# docutils version for reference page formatting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue