StructRef/.gitlab-ci.yml

29 lines
478 B
YAML

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:
image: inetprocess/gitlab-release
stage: release
only:
- tags
except:
- schedules
dependencies:
- build
script:
- gitlab-release --message 'Automatic release' ./src/main.pdf