From c07d7aabc8d2c9f32dee72f381c66ce8f8563e2b Mon Sep 17 00:00:00 2001 From: Vincent Mazenod <vmazenod@gmail.com> Date: Fri, 5 Nov 2021 18:42:29 +0100 Subject: [PATCH] update content --- .gitlab-ci.yml | 18 ------------------ content/pages/moi.md | 2 +- pelicanconf.py | 2 +- 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1e9c75a..13ebf11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,23 +7,6 @@ cache: build: stage: build script: - # dépendances pelican thèmes - - apt update - - apt-get install -y --force-yes build-essential python-dev python-pip git nodejs nodejs-legacy npm - - pip install --upgrade pip==9.0.3 - - pip install -r requirements.txt - - cd content && npm install && cd .. - - sed -i "s/RELATIVE_URLS = True/RELATIVE_URLS = False/" pelicanconf.py - - apt-get install -y --force-yes locales - - locale-gen fr_FR - - locale-gen fr_FR.UTF-8 - - update-locale LANG=fr_FR.UTF-8 - - . /etc/default/locale - # génération du HTML statique dans le répertoire output - - pelican content - # dépendance pour l'authentification kerberos - - echo -e "krb5-config krb5-config/default_realm string LOCAL.ISIMA.FR" | debconf-set-selections - - apt-get install -y --force-yes krb5-user krb5-config # récupération du KEYTAB en hexa - echo "$KEYTAB" > my.keytab.hex # conversion du KEYTAB en hexa en binaire @@ -43,7 +26,6 @@ build: - ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "echo ' Header set Content-Disposition attachment' >> ~/public_html/_/.htaccess" - ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "echo '</FilesMatch>' >> ~/public_html/_/.htaccess" # rsync du HTML statique généré - - apt-get install -y --force-yes rsync - rsync -az --exclude '_' -e "ssh -o StrictHostKeyChecking=no -K" output/ vimazeno@perso.local.isima.fr:~/public_html/ - ssh -o StrictHostKeyChecking=no -K vimazeno@perso.local.isima.fr "mkdir -p ~/public_html/node_modules" - rsync -az -e "ssh -o StrictHostKeyChecking=no -K" content/node_modules/ vimazeno@perso.local.isima.fr:~/public_html/node_modules diff --git a/content/pages/moi.md b/content/pages/moi.md index 0583ece..a5312d3 100644 --- a/content/pages/moi.md +++ b/content/pages/moi.md @@ -7,7 +7,7 @@ save_as: index.html url: index.html Number: 2 -## <i class="fas fa-desktop"></i> Ingénieur d'Étude Informatique au CNRS <a class="expand btn btn-primary float-right">version courte</a> +## <i class="fas fa-desktop"></i> Ingénieur de Recherche Informatique au CNRS <a class="expand btn btn-primary float-right">version courte</a> ### "You can't defend. You can't prevent. The only thing you can do is detect and respond." *Bruce Schneier* diff --git a/pelicanconf.py b/pelicanconf.py index 39d20a8..f494d47 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,7 +4,7 @@ from __future__ import unicode_literals import os AUTHOR = 'Vincent Mazenod' -SITENAME = 'Vincent Mazenod / ingénieur d\'études' +SITENAME = 'Vincent Mazenod / ingénieur de recherche' SITELOGO = 'images/mazenovi.png' OIMPHOTO = 'images/oim.png' FAVICON = 'images/favicon.ico' -- GitLab