lecture-notes/template/.gitlab-ci.yml

35 lines
508 B
YAML
Raw Normal View History

2022-02-15 21:46:39 +01:00
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"
2022-02-16 00:32:20 +01:00
- test -f public/$mainfile.pdf
2022-02-15 21:46:39 +01:00
only:
- master
- main