Matboj-Regelwerk/.gitlab-ci.yml

29 lines
408 B
YAML
Raw Normal View History

2022-10-02 10:08:35 +02:00
stages:
- build
- pages
build-document:
stage: build
image:
2023-09-14 19:31:32 +02:00
name: texlive/texlive:latest
2022-10-02 10:08:35 +02:00
script:
2023-09-14 19:31:32 +02:00
- .ci/build_document.sh
2022-10-02 10:08:35 +02:00
artifacts:
paths:
2023-09-14 19:31:32 +02:00
- public/
2022-10-02 10:08:35 +02:00
only:
2023-09-14 19:31:32 +02:00
- tags
- branches
- merge_requests
2022-10-02 10:08:35 +02:00
pages:
2023-09-14 19:31:32 +02:00
stage: pages
artifacts:
paths:
- public/
script:
- echo "Deploying to GitLab pages"
- test -f public/Matboj_Regelwerk.pdf
only:
- main