diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 21a43ca777ce6189087c553240b58e8f6a35d2fe..1a6eab752152f18fc2e93df21834b76b109b276f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,8 +34,6 @@ build_and_deploy:
   script:
     - pandoc -v
     - make update SHELL=bash
-    - make SHELL=bash
-    - rsync -avzz css ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
-    - rsync -avzz figs ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
-    - rsync -avzz index.html ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
+    - make deploy SHELL=bash
+    - rsync -avzz site/* ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/
     - blc https://malaspinas.academy/index.html -ro --exclude *.pdf --filter-level 3
diff --git a/Makefile b/Makefile
index de3acf56285cf443ce5031817f51e1f6bf66512a..15fc09696761dd47a679b5e9536744fffd3c8389 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ deploy: all
 	mkdir -p site/archives
 	cp index.html site/
 	cp -r css site/
+	cp -r figs site/
 	cp -r archives/index.html site/archives/
 
 update: