Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Konrad Völkel
lecturescript
Commits
09ba5a66
Commit
09ba5a66
authored
Jun 12, 2022
by
Konrad Völkel
Browse files
Update .gitlab-ci.yml file
parent
e211e594
Pipeline
#90596
passed with stages
in 4 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
09ba5a66
stages
:
-
build1
-
build2
-
build
-
deploy
variables
:
...
...
@@ -12,45 +11,29 @@ cache:
-
venv/
jupyter-build-html
:
stage
:
build
1
image
:
jupyter/scipy-notebook
stage
:
build
image
:
sphinxdoc/sphinx-latexpdf
script
:
-
python3 -V
# Print out python version for debugging
-
pip install virtualenv
-
virtualenv venv
1
-
source venv
1
/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 _
pdf
build/latex/datascience-skript.pdf public/
-
mv _build/latex/datascience-skript.pdf public/
artifacts
:
paths
:
-
public
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment