summaryrefslogtreecommitdiff
path: root/20-implementierungsheft/.gitlab-ci.yml
blob: 27d0617be1d7fa06d14f1414a6fb951cc0ba7695 (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
plantuml:
  stage: .pre
  image: 
    name: plantuml/plantuml
    entrypoint: [""]
  script:
    - java -jar plantuml.jar -tpdf assets/diagrams/*.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