Verified Commit bea7b90a authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Add CI

parent f2ce7d8e
Pipeline #33891 passed with stages
in 49 seconds
stages:
- build
- deploy
beamer-build:
image: aergus/latex
stage: build
script:
- pdflatex p.tex
artifacts:
paths:
- "*.pdf"
tags:
- docker
synchronize:
stage: deploy
before_script:
- apt-get update -y
- apt-get install -y rsync
- echo "$ssh_key" > id_rsa
- chmod 600 id_rsa
script:
# In non-interactive context, don't check host identity
- rsync -e"ssh -i id_rsa -o StrictHostKeyChecking=no" -avz *.pdf apiInit@pica02.picasoft.net:~/artefact/pgp/
after_script:
- rm id_rsa
dependencies:
- beamer-build
tags:
- linux
only:
- master
Supports Markdown
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