Commit 9d84f171 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

test

parent 780084b1
compile_pdf:
stage: build
image: timnn/texlive # use a Docker image for LaTeX from https://hub.docker.com/
script: pdflatex main.tex # build the pdf just as you would on your computer
artifacts:
paths:
- main.pdf # instruct GitLab to keep the main.pdf file
image: aergus/latex # use a Docker image for LaTeX from https://hub.docker.com/
pages:
stage: deploy
variables:
USER: "gitlab-runner"
script:
- mkdir public # create a folder called public
- cp main.pdf public # copy the pdf file into the public folder
- ./compile.sh # build the pdf
artifacts:
paths:
- public # instruct GitLab to keep the public folder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment