Commit 90cfa31c authored by Remy Huet's avatar Remy Huet

Merge branch 'ci_push' into 'master'

Push artefact to school.picasoft.net / update README

See merge request !3
parents 92b499cd c5fab9f4
Pipeline #33202 passed with stages
in 1 minute
image: aergus/latex
stages:
- build
- deploy
beamer-build :
stage : build
script :
- make
artifacts:
paths:
- "*.pdf"
expire_in: 5 years
tags:
- docker
beamer-build:
image: aergus/latex
stage: build
script:
- make
artifacts:
paths:
- "*.pdf"
expire_in: 5 years
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/git/
after_script:
- rm id_rsa
dependencies:
- beamer-build
tags:
- linux
\ No newline at end of file
......@@ -10,7 +10,7 @@ En cas de remarques sur la présentation (ou de questions aussi), vous pouvez ut
## Présentation
La présentation au format PDF est disponible [ici](https://gitlab.utc.fr/picasoft/apis/h19/init/git/-/jobs/artifacts/master/raw/main.pdf?job=beamer-build)
La présentation au format PDF est disponible [ici](https://school.picasoft.net/artefact/git/main.pdf).
## Contribuer !
......
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