summaryrefslogtreecommitdiff
path: root/30-qualitaetsheft/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '30-qualitaetsheft/.gitlab-ci.yml')
-rw-r--r--30-qualitaetsheft/.gitlab-ci.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/30-qualitaetsheft/.gitlab-ci.yml b/30-qualitaetsheft/.gitlab-ci.yml
new file mode 100644
index 0000000..27d0617
--- /dev/null
+++ b/30-qualitaetsheft/.gitlab-ci.yml
@@ -0,0 +1,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
+