Skip to content
Snippets Groups Projects
Commit 4fc8365c authored by Franz Zieris's avatar Franz Zieris
Browse files

add documentation to .gitlab-ci.yml

parent b7fde6b7
No related branches found
No related tags found
1 merge request!1Use GitLab CI for compiling PDFs
...@@ -3,7 +3,7 @@ image: rocker/verse ...@@ -3,7 +3,7 @@ image: rocker/verse
compile: compile:
stage: build stage: build
before_script: before_script:
- Rscript preload-packages.R - Rscript preload-packages.R # optional, but saves time
script: script:
- Rscript -e "library(knitr);knit('report_en.Rnw');" - Rscript -e "library(knitr);knit('report_en.Rnw');"
- Rscript -e "library(tinytex);pdflatex('report_en.tex');" - Rscript -e "library(tinytex);pdflatex('report_en.tex');"
......
# Preloading the LaTeX packages is optional (tinytex would install them
# on-the-fly when calling `pdflatex()`), but is a time-saver for GitLab CI
latex_packages = c( latex_packages = c(
'babel-english', 'babel-english',
'babel-german', 'babel-german',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment