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