Update .gitlab-ci.yml

This commit is contained in:
Lukas Heiligenbrunner 2020-04-22 10:18:25 +00:00
parent 634b102974
commit 62f9462f1b

View File

@ -1,9 +1,26 @@
image: luki42/latex-full:latest
stages:
- build
- release
build:
stage: build
script:
- cd src
- latexmk -pdf -file-line-error -interaction=nonstopmode -halt-on-error -output-format=pdf main.tex
artifacts:
paths:
- "src/*.pdf"
release:
stage: release
only: tags
release:
name: My $CI_PROJECT_NAME Release 1.0-$CI_COMMIT_SHORT_SHA
description: FSST Referat
assets:
- name: FSST-Referat-Pointer-Struct.pdf
path: src/main.pdf