LaTeX CI
The snippet can be accessed without any authentication.
Authored by
Noah Wöhler
CI pipeline that builds a project with latexmk
.gitlab-ci.yml 608 B
compile_pdf:
stage: build
image: texlive/texlive # use a Docker image for LaTeX from https://hub.docker.com/
script: make # build the pdf just as you would on your computer
artifacts:
paths:
- abschlussarbeit.pdf # instruct GitLab to keep the main.pdf file
#pages:
# stage: deploy
# script:
# - mkdir public # create a folder called public
# - cp main.pdf public # copy the pdf file into the public folder
# artifacts:
# paths:
# - public # instruct GitLab to keep the public folder
# only:
# - master # deploy the pdf only for commits made to the master branch
Please register or sign in to comment