StructRef/.gitlab-ci.yml

29 lines
478 B
YAML
Raw Normal View History

image: luki42/latex-full:latest
2020-04-16 17:42:46 +00:00
2020-04-22 10:18:25 +00:00
stages:
2020-04-22 10:20:35 +00:00
- build
- release
2020-04-22 10:18:25 +00:00
2020-04-16 17:42:46 +00:00
build:
2020-04-22 10:18:25 +00:00
stage: build
2020-04-16 17:42:46 +00:00
script:
2020-04-16 20:56:13 +00:00
- cd src
2020-04-19 18:00:39 +00:00
- latexmk -pdf -file-line-error -interaction=nonstopmode -halt-on-error -output-format=pdf main.tex
2020-04-16 17:42:46 +00:00
artifacts:
paths:
2020-04-16 20:56:13 +00:00
- "src/*.pdf"
2020-04-22 10:18:25 +00:00
release:
2020-04-22 10:32:03 +00:00
image: inetprocess/gitlab-release
2020-04-22 10:18:25 +00:00
stage: release
2020-04-22 10:32:03 +00:00
only:
2020-04-22 10:28:24 +00:00
- tags
2020-04-22 10:32:03 +00:00
except:
- schedules
dependencies:
- build
2020-04-22 10:27:48 +00:00
script:
- gitlab-release --message 'Automatic release' ./src/main.pdf
2020-04-22 10:18:25 +00:00