From 8777881bbc6c7176d00c54ef4264db990bea95dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timu=C3=A7in=20Boldt?= <timucin.boldt@udo.edu> Date: Sun, 6 Aug 2023 17:29:34 +0000 Subject: [PATCH] Use mirrored PandocPlus image from local registry --- .gitlab-ci.yml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 55d2f6e..c5e3761 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,26 @@ -include: - - remote: https://git.eisfunke.com/document/pandoc-template/slides/-/raw/main/build.gitlab-ci.yml - - remote: https://git.eisfunke.com/document/pandoc-template/slides/-/raw/main/pages.gitlab-ci.yml +build: + stage: build + image: registry.gitlab.fachschaften.org/nicolas.lenz/pandoc-plus + variables: + GIT_SUBMODULE_STRATEGY: recursive + script: + - make -f template/makefile out/slides.pdf out/slides.tex + artifacts: + paths: + - out/ + +variables: + OUTPUT_NAME: slides + +pages: + stage: deploy + image: docker.io/alpine:latest + script: + - mkdir public + - mv out/slides.pdf public/$OUTPUT_NAME.pdf + - mv out/slides.tex public/$OUTPUT_NAME.tex + artifacts: + paths: + - public + only: + - main -- GitLab