.gitlab-ci.yml 355 Bytes
Newer Older
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
1
image: aergus/latex # use a Docker image for LaTeX from https://hub.docker.com/
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
2 3 4

pages:
  stage: deploy
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
5 6
  variables:
    USER: "gitlab-runner"
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
7
  script:
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
8
    - ./compile.sh  # build the pdf
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
9 10 11 12 13
  artifacts:
    paths:
      - public  # instruct GitLab to keep the public folder
  only:
    - master  # deploy the pdf only for commits made to the master branch