From 99ebb32c94adc2e8375e51c4f917c75eab906014 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@pm.me>
Date: Tue, 20 Sep 2022 12:27:05 +0200
Subject: [PATCH] update

---
 .gitlab-ci.yml  | 6 ++----
 slides/Makefile | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f97630d..e76875c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,10 +35,8 @@ before_script:
 build_only:
   script:
     - cd slides
-    - ls -ltr
-    - ./gen_index.sh
-    - make
-    - make deploy
+    - make SHELL=bash
+    - make deploy SHELL=bash
     - rsync -avz prog_seq_c_cours ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
 
 build_artifacts:
diff --git a/slides/Makefile b/slides/Makefile
index 1f4fc11..904288f 100644
--- a/slides/Makefile
+++ b/slides/Makefile
@@ -50,7 +50,7 @@ index.md:
 index.html: index.md
 	pandoc -s $(OPTIONS) -o $@ $^
 
-deploy: all
+deploy: all index.html
 	mkdir -p prog_seq_c_cours
 	cp *.pdf prog_seq_c_cours
 	cp *.html prog_seq_c_cours
-- 
GitLab