summaryrefslogtreecommitdiff
path: root/21-implementierungsheft-kolloquium/.gitlab-ci.yml
blob: c4ad5e03b4323555c676cb76239c9115b9cc0132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plantuml:
  stage: .pre
  image: 
    name: eclipse-temurin:17-alpine
    entrypoint: [""]
  script:
    - java -jar plantuml.jar -tpdf assets/diagrams/*.puml
    - java -jar plantuml.jar -teps assets/*.puml
  artifacts:
    paths:
    - assets

tex: 
  stage: build
  image: texlive/texlive
  script:
  - mkdir public
  - make tex
  - mv *.pdf public
  artifacts:
    paths:
    - public
  dependencies: 
    - plantuml

pages:
  stage: deploy
  script:
    - echo Hello, World!
  artifacts:
    paths:
    - public
  rules:
  - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
  dependencies:
    - tex