summaryrefslogtreecommitdiff
path: root/21-implementierungsheft-kolloquium/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2024-05-24 17:42:08 +0200
committerOrangerot <purple@orangerot.dev>2024-05-24 17:47:22 +0200
commit7fcdc1c788725f866de71fc9dfd8c4d1cb132b57 (patch)
tree89931c85ae3f149884ba02c69862558e93f01531 /21-implementierungsheft-kolloquium/.gitlab-ci.yml
Initial commitHEADmain
Diffstat (limited to '21-implementierungsheft-kolloquium/.gitlab-ci.yml')
-rw-r--r--21-implementierungsheft-kolloquium/.gitlab-ci.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/21-implementierungsheft-kolloquium/.gitlab-ci.yml b/21-implementierungsheft-kolloquium/.gitlab-ci.yml
new file mode 100644
index 0000000..c4ad5e0
--- /dev/null
+++ b/21-implementierungsheft-kolloquium/.gitlab-ci.yml
@@ -0,0 +1,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
+