stages: - build - publish image: registry.gitlab.com/adehnert/gametex-deps-docker:latest build game: stage: build script: - apt-get update && apt-get install -y texlive-latex-base texlive-latex-extra texlive-fonts-recommended texlive-pstricks python3 make - make install artifacts: paths: - artifacts/ expire_in: 1 week pages: # "pages" job name is special, and triggers creation of GitLab pages: # https://gitlab.com/help/user/project/pages/getting_started_part_four.md stage: publish script: - mkdir -p public - cp artifacts/*.pdf index.html public/ artifacts: paths: - public expire_in: 1 month only: - master - pages-test