mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
99b218e8e1
commit
04d0a3b877
1 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ image: python:3.10-slim
|
|||
|
||||
stages:
|
||||
- build
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||
|
|
@ -25,3 +26,10 @@ jupyter-build:
|
|||
script:
|
||||
- pip install -r requirements.txt
|
||||
- jupyter-book build book/
|
||||
|
||||
push-html:
|
||||
stage: deploy
|
||||
only:
|
||||
- main
|
||||
script:
|
||||
- git clone "https://RobOt:$ACCESS_TOKEN@gitlab.tudelft.nl/$CI_PROJECT_PATH.git"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue