Update .gitlab-ci.yml
This commit is contained in:
parent
634b102974
commit
62f9462f1b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user