From 2905992cff47fab1af4263649b32f09442b6ca50 Mon Sep 17 00:00:00 2001
From: Orestis Malaspinas <orestis.malaspinas@hesge.ch>
Date: Wed, 18 Sep 2019 10:23:59 +0200
Subject: [PATCH] updated makefile and gitlab-ci to copy index.html

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8fd3e21..9d771af 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: omalaspinas/archlinux-pandoc:latest
+image: omalaspinas/pandoc:latest
 
 before_script:
    ##
diff --git a/Makefile b/Makefile
index f069b49..c30ea66 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ HTMLOPTIONS += -t html5
 HTMLOPTIONS += -c css/styling.css
 HTMLOPTIONS += --self-contained
 
-all: base_1.pdf intro.pdf
+all: base_1.pdf intro.pdf index.html
 
 intro.pdf: intro.md *.theme
 	pandoc -t beamer -o $@ $<
@@ -24,6 +24,7 @@ index.html: index.md
 deploy: all
 	mkdir -p prog_seq_c_cours
 	cp *.pdf prog_seq_c_cours
+	cp index.html prog_seq_c_cours/
 
 clean:
-	rm -f *.pdf
+	rm -f *.pdf index.html
-- 
GitLab