Update .gitlab-ci.yml
This commit is contained in:
parent
634b102974
commit
62f9462f1b
@ -1,9 +1,26 @@
|
|||||||
image: luki42/latex-full:latest
|
image: luki42/latex-full:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- release
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cd src
|
- cd src
|
||||||
- latexmk -pdf -file-line-error -interaction=nonstopmode -halt-on-error -output-format=pdf main.tex
|
- latexmk -pdf -file-line-error -interaction=nonstopmode -halt-on-error -output-format=pdf main.tex
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "src/*.pdf"
|
- "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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user