summaryrefslogtreecommitdiff
path: root/20-implementierungsheft/.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 /20-implementierungsheft/.gitlab-ci.yml
Initial commitHEADmain
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
+