s23-probability-theory/.gitlab-ci.yml
2023-04-13 16:14:55 +02:00

34 lines
517 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 pages"
- test -f public/probability_theory.pdf
only:
- master
- main