This commit is contained in:
Caspar Jungbacker 2023-04-16 12:59:18 +02:00
parent 9ada9bd28b
commit 49e67f4146

27
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,27 @@
image: python:3.10-slim
stages:
- build
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
- venv/
- archive/_build
before_script:
- python -V
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
jupyter-build:
stage: build
only:
- main
script:
- pip install -r requirements.txt
- jupyter-book build -vvv archive/