Commit 09ba5a66 authored by Konrad Völkel's avatar Konrad Völkel
Browse files

Update .gitlab-ci.yml file

parent e211e594
Pipeline #90596 passed with stages
in 4 minutes and 6 seconds
stages:
- build1
- build2
- build
- deploy
variables:
......@@ -12,45 +11,29 @@ cache:
- venv/
jupyter-build-html:
stage: build1
image: jupyter/scipy-notebook
stage: build
image: sphinxdoc/sphinx-latexpdf
script:
- python3 -V # Print out python version for debugging
- pip install virtualenv
- virtualenv venv1
- source venv1/bin/activate
- virtualenv venv
- source venv/bin/activate
- pip install --upgrade pip
- pip install -r requirements.txt -v
- alias python=python3 # for jb clean ...
- jupyter-book clean .
- jupyter-book build . --builder html
- jupyter-book build . --builder pdflatex
artifacts:
paths:
- _build/
jupyter-build-pdf:
stage: build2
image: sphinxdoc/sphinx-latexpdf
script:
- python3 -V # Print out python version for debugging
- pip install virtualenv
- virtualenv venv2
- source venv2/bin/activate
- pip install --upgrade pip
- pip install -r requirements.txt -v
- alias python=python3 # for jb clean ...
- jupyter-book clean .
- jupyter-book build . --builder pdflatex --path-output _pdfbuild
artifacts:
paths:
- _pdfbuild/
pages:
stage: deploy
image: busybox:latest
script:
- mv _build/html public
- mv _pdfbuild/latex/datascience-skript.pdf public/
- mv _build/latex/datascience-skript.pdf public/
artifacts:
paths:
- public
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment