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