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