Commit 4070a802 authored by Matthieu PERREIRA DA SILVA's avatar Matthieu PERREIRA DA SILVA
Browse files

Add .gitlab-ci.yml (first trial ;-))

parent a94dec86
Pipeline #20514 passed with stage
in 2 minutes and 15 seconds
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
pages:
before_script:
- apt-get update
- apt-get install zip unzip locales -y
- echo "fr_FR UTF-8" > /etc/locale.gen
- locale-gen fr_FR.UTF-8
- export LANG=fr_FR.UTF-8
- export LANGUAGE=fr_FR:en
- export LC_ALL=fr_FR.UTF-8
stage: deploy
script:
- |
mkdir .public
for tp in 'TP1' 'TP2' 'TP3' 'TP4'
do
mkdir .public/$tp
cd $tp
zip -r $tp *
mv $tp.zip ../.public/$tp/Sujet.zip
cd ..
done
mv .public public
artifacts:
paths:
- public
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