Oops, make install copies things
[groups/soviet-russia/public.git] / .gitlab-ci.yml
1 stages:
2   - build
3   - publish
4
5 image: registry.gitlab.com/adehnert/gametex-deps-docker:latest
6
7 build game:
8   stage: build
9   script:
10     - apt-get update && apt-get install -y texlive-latex-base texlive-latex-extra texlive-fonts-recommended texlive-pstricks python3 make
11     - make install
12
13   artifacts:
14     paths:
15       - artifacts/
16     expire_in: 1 week
17
18 pages:
19   # "pages" job name is special, and triggers creation of GitLab pages:
20   # https://gitlab.com/help/user/project/pages/getting_started_part_four.md
21   stage: publish
22   script:
23     - mkdir -p public
24     - cp artifacts/*.pdf index.html public/
25
26   artifacts:
27     paths:
28       - public
29     expire_in: 1 month
30
31   only:
32     - master
33     - pages-test