mirror of
https://gitlab.com/mathezirkel/content/matboj-regelwerk
synced 2024-11-08 15:21:33 +01:00
35 lines
522 B
YAML
35 lines
522 B
YAML
|
stages:
|
||
|
- build
|
||
|
- pages
|
||
|
|
||
|
default:
|
||
|
tags:
|
||
|
- latex
|
||
|
|
||
|
build-document:
|
||
|
stage: build
|
||
|
script:
|
||
|
- .ci/build_document.sh
|
||
|
variables:
|
||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public/
|
||
|
only:
|
||
|
- tags
|
||
|
- branches
|
||
|
# - merge_requests
|
||
|
|
||
|
|
||
|
pages:
|
||
|
stage: pages
|
||
|
artifacts:
|
||
|
paths:
|
||
|
- public/
|
||
|
script:
|
||
|
- echo "Deploying to GitLab pages"
|
||
|
- test -f public/Matboj_Regelwerk.pdf
|
||
|
only:
|
||
|
- master
|
||
|
- main
|