# taken from https://gitlab.com/rverchere/marp-gitpod-demo # by Rémi Verchèr -> as describde in https://medium.com/linkbynet/making-slides-from-anywhere-for-anyone-using-marp-gitlab-pages-and-gitpod-35001daf1c93 stages: - build - deploy generate-deck: stage: build image: name: marpteam/marp-cli entrypoint: [""] script : - mkdir build/ - cp -r images build - export MARP_USER="$(id -u):$(id -g)" - /home/marp/.cli/docker-entrypoint -I . -o build/ artifacts: paths: - "build/" pages: stage: deploy script: # Nothing to do, as we just need to publish the build/ dir - mv build public artifacts: paths: - public dependencies: - generate-deck