+
+
+
+
+
\ No newline at end of file
diff --git a/fr/search.json b/fr/search.json
index 32eb0c0..b98050d 100644
--- a/fr/search.json
+++ b/fr/search.json
@@ -21,25 +21,11 @@
"text": "English"
},
{
- "objectID": "interests.html",
- "href": "interests.html",
- "title": "Personal interests",
+ "objectID": "posts.html",
+ "href": "posts.html",
+ "title": "Posts",
"section": "",
- "text": "English"
- },
- {
- "objectID": "interests.html#tech-and-homelab",
- "href": "interests.html#tech-and-homelab",
- "title": "Personal interests",
- "section": "Tech and homelab",
- "text": "Tech and homelab\nI enjoy tech subjects and homelab related subjects."
- },
- {
- "objectID": "interests.html#microbiology",
- "href": "interests.html#microbiology",
- "title": "Personal interests",
- "section": "Microbiology",
- "text": "Microbiology\nOne thing that I particularly love is microbiology and the creature that intrigue me the most is Physarum Polycephalum\n\n\n\nPhysarum Polycephalum, the Blob"
+ "text": "English \n\n\n\n\n\n\n\n\n\nFaire une CI LaTeX avec GitLab\n\n\n\nci\n\n\nintégration continue\n\n\ngit\n\n\nGitLab\n\n\nLaTeX\n\n\nfrench\n\n\nfrançais\n\n\n\n\n\n\n\nLouis Lacoste\n\n\n23 sept. 2025\n\n\n\n\n\n\n\n\nAucun article correspondant"
},
{
"objectID": "posts/ci-gitlab-latex.html",
@@ -63,11 +49,32 @@
"text": "La phase de déploiement deploy\n\ndeploy:\n stage: deploy\n image:\n name: alpine/git:${GIT_VERSION}\n entrypoint: [\"\"]\n\n before_script:\n # Clone le repo dans un dossier temporaire\n - git clone \"https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\" \"${CI_COMMIT_SHA}\"\n\n # Configure l’identité git\n - git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\"\n - git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\"\n\n script:\n # Déplace les PDFs compilés dans le repo cloné\n - mv *.pdf \"${CI_COMMIT_SHA}/\"\n - cd \"${CI_COMMIT_SHA}\"\n\n # Crée une branche orpheline (vierge, sans historique ni fichiers)\n - git checkout --orphan \"${PDF_BRANCH}\"\n - git reset --hard\n\n # Ajoute uniquement les PDF\n - git add -f *.pdf\n\n # Vérifie s’il y a des changements et push\n - |\n CHANGES=$(git status --porcelain | wc -l)\n if [ \"$CHANGES\" -gt \"0\" ]; then\n git commit -m \"${COMMIT_MESSAGE:-Updating PDF files}\"\n git push --force origin \"${PDF_BRANCH}\" -o ci.skip\n else\n echo \"No PDF changes to commit\"\n fi\n\nFinalement nous déployons nos PDF. Pour cela on charge une image légère Alpine Linux avec la version Git sélectionnée dans les variables.\nAvec la directive before_script on clone le dépôt.\n\n\n\n\n\n\nPour créer le token GitLab\n\n\n\nNotez dans le git clone que nous employons une variable GITLAB_TOKEN, celle-ci est a créer au préalable et à déclarer dans le dépôt.\nPour cela :\n\nRendez-vous dans les paramètre de votre dépôt.\n\n\n\n\nDans les menus de gauche, déplier “Settings” et rendez-vous dans “Access tokens”\n\n\n\nIci ajoutez un nouveau token.\n\n\n\n\nCliquer sur “Add new token”\n\n\n\nEn configurant les permissions read_repository et write_repository afin de pouvoir cloner et pousser nos fichiers. Puis cliquer sur “Create project access token”.\n\n\n\nVotre token est maintenant affiché, copiez le car il ne sera pas raffiché après.\nRendez-vous maintenant dans CI/CD settings.\n\n\n\nCréer maintenant la variable en cliquant sur “Add variable”, nommez la GITLAB_TOKEN, dans “value” ajoutez le token copié.\n\n\n\nLa suite du script déplace les PDF dans le dépôt cloné, crée la branche de publication et ajoute les pdf.\nVous avez normalement maintenant une CI de compilation et publication de PDF ! Maintenant vous pouvez faire référence dans votre README.md à vos PDF en saisissant un lien du type :\nhttps://mongitlab.com/monnomutilisateur/mondepot/-/raw/monpdf.pdf\nqui permet d’afficher directement dans le navigateur le produit de la compilation. 😄"
},
{
- "objectID": "posts.html",
- "href": "posts.html",
- "title": "Posts",
+ "objectID": "interests.html",
+ "href": "interests.html",
+ "title": "Personal interests",
"section": "",
- "text": "English \n\n\n\n\n\n\n\n\n\nFaire une CI LaTeX avec GitLab\n\n\n\nci\n\n\nintégration continue\n\n\ngit\n\n\nGitLab\n\n\nLaTeX\n\n\nfrench\n\n\nfrançais\n\n\n\n\n\n\n\nLouis Lacoste\n\n\n23 sept. 2025\n\n\n\n\n\n\n\n\nAucun article correspondant"
+ "text": "English"
+ },
+ {
+ "objectID": "interests.html#tech-and-homelab",
+ "href": "interests.html#tech-and-homelab",
+ "title": "Personal interests",
+ "section": "Tech and homelab",
+ "text": "Tech and homelab\nI enjoy tech subjects and homelab related subjects."
+ },
+ {
+ "objectID": "interests.html#microbiology",
+ "href": "interests.html#microbiology",
+ "title": "Personal interests",
+ "section": "Microbiology",
+ "text": "Microbiology\nOne thing that I particularly love is microbiology and the creature that intrigue me the most is Physarum Polycephalum\n\n\n\nPhysarum Polycephalum, the Blob"
+ },
+ {
+ "objectID": "publications.html",
+ "href": "publications.html",
+ "title": "Publications",
+ "section": "",
+ "text": "English"
},
{
"objectID": "teaching.html",
diff --git a/fr/teaching.html b/fr/teaching.html
index d71d4d2..4974df9 100644
--- a/fr/teaching.html
+++ b/fr/teaching.html
@@ -100,6 +100,10 @@ ul.task-list li input[type="checkbox"] {
Enseignement
+
+
+
+
+
\ No newline at end of file
diff --git a/search.json b/search.json
index c7dc26a..be16514 100644
--- a/search.json
+++ b/search.json
@@ -21,25 +21,11 @@
"text": "Français"
},
{
- "objectID": "interests.html",
- "href": "interests.html",
- "title": "Personal interests",
+ "objectID": "posts.html",
+ "href": "posts.html",
+ "title": "Posts",
"section": "",
- "text": "Français"
- },
- {
- "objectID": "interests.html#tech-and-homelab",
- "href": "interests.html#tech-and-homelab",
- "title": "Personal interests",
- "section": "Tech and homelab",
- "text": "Tech and homelab\nI enjoy tech subjects and homelab related subjects."
- },
- {
- "objectID": "interests.html#microbiology",
- "href": "interests.html#microbiology",
- "title": "Personal interests",
- "section": "Microbiology",
- "text": "Microbiology\nOne thing that I particularly love is microbiology and the creature that intrigue me the most is Physarum Polycephalum\n\n\n\nPhysarum Polycephalum, the Blob"
+ "text": "Français \n\n\n\n\n\n\n\n\n\nFaire une CI LaTeX avec GitLab\n\n\n\nci\n\n\nintégration continue\n\n\ngit\n\n\nGitLab\n\n\nLaTeX\n\n\nfrench\n\n\nfrançais\n\n\n\n\n\n\n\nLouis Lacoste\n\n\nSep 23, 2025\n\n\n\n\n\n\n\n\nNo matching items"
},
{
"objectID": "posts/ci-gitlab-latex.html",
@@ -63,11 +49,32 @@
"text": "The deployment phase deploy\n\ndeploy:\n stage: deploy\n image:\n name: alpine/git:${GIT_VERSION}\n entrypoint: [\"\"]\n\n before_script:\n # Clone le repo dans un dossier temporaire\n - git clone \"https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\" \"${CI_COMMIT_SHA}\"\n\n # Configure l’identité git\n - git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\"\n - git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\"\n\n script:\n # Déplace les PDFs compilés dans le repo cloné\n - mv *.pdf \"${CI_COMMIT_SHA}/\"\n - cd \"${CI_COMMIT_SHA}\"\n\n # Crée une branche orpheline (vierge, sans historique ni fichiers)\n - git checkout --orphan \"${PDF_BRANCH}\"\n - git reset --hard\n\n # Ajoute uniquement les PDF\n - git add -f *.pdf\n\n # Vérifie s’il y a des changements et push\n - |\n CHANGES=$(git status --porcelain | wc -l)\n if [ \"$CHANGES\" -gt \"0\" ]; then\n git commit -m \"${COMMIT_MESSAGE:-Updating PDF files}\"\n git push --force origin \"${PDF_BRANCH}\" -o ci.skip\n else\n echo \"No PDF changes to commit\"\n fi\n\nFinally, we deploy our PDFs. For this, we load a lightweight Alpine Linux image with the Git version selected in the variables.\nWith the before_script directive, we clone the repository.\n\n\n\n\n\n\nTo create the GitLab token\n\n\n\nNote in the git clone that we use a GITLAB_TOKEN variable, which must be created beforehand and declared in the repository.\nTo do this:\n\nGo to your repository settings.\n\n\n\n\nIn the left menus, expand “Settings” and go to “Access tokens”\n\n\n\nHere add a new token.\n\n\n\n\nClick on “Add new token”\n\n\n\nConfigure the read_repository and write_repository permissions to be able to clone and push our files. Then click on “Create project access token”.\n\n\n\nYour token is now displayed, copy it as it will not be displayed again.\nNow go to CI/CD settings.\n\n\n\nNow create the variable by clicking on “Add variable”, name it GITLAB_TOKEN, in “value” add the copied token.\n\n\n\nThe rest of the script moves the PDFs to the cloned repository, creates the publication branch and adds the pdfs.\nYou should now have a CI for compiling and publishing PDFs! Now you can reference your PDFs in your README.md by entering a link like:\nhttps://mygitlab.com/myusername/myrepo/-/raw/mypdf.pdf\nwhich allows you to display the compilation output directly in the browser. 😄"
},
{
- "objectID": "posts.html",
- "href": "posts.html",
- "title": "Posts",
+ "objectID": "interests.html",
+ "href": "interests.html",
+ "title": "Personal interests",
"section": "",
- "text": "Français \n\n\n\n\n\n\n\n\n\nFaire une CI LaTeX avec GitLab\n\n\n\nci\n\n\nintégration continue\n\n\ngit\n\n\nGitLab\n\n\nLaTeX\n\n\nfrench\n\n\nfrançais\n\n\n\n\n\n\n\nLouis Lacoste\n\n\nSep 23, 2025\n\n\n\n\n\n\n\n\nNo matching items"
+ "text": "Français"
+ },
+ {
+ "objectID": "interests.html#tech-and-homelab",
+ "href": "interests.html#tech-and-homelab",
+ "title": "Personal interests",
+ "section": "Tech and homelab",
+ "text": "Tech and homelab\nI enjoy tech subjects and homelab related subjects."
+ },
+ {
+ "objectID": "interests.html#microbiology",
+ "href": "interests.html#microbiology",
+ "title": "Personal interests",
+ "section": "Microbiology",
+ "text": "Microbiology\nOne thing that I particularly love is microbiology and the creature that intrigue me the most is Physarum Polycephalum\n\n\n\nPhysarum Polycephalum, the Blob"
+ },
+ {
+ "objectID": "publications.html",
+ "href": "publications.html",
+ "title": "Publications",
+ "section": "",
+ "text": "Français"
},
{
"objectID": "teaching.html",
diff --git a/teaching.html b/teaching.html
index 2099b93..3ed3f6f 100644
--- a/teaching.html
+++ b/teaching.html
@@ -100,6 +100,10 @@ ul.task-list li input[type="checkbox"] {
Teaching
+