.gitlab-ci.yml 358 Bytes
Newer Older
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
1
image: koppor/texlive  # use a Docker image for LaTeX from https://hub.docker.com/
Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
2

Pierre-antoine Comby's avatar
Pierre-antoine Comby committed
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 8
  script:
    - ./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