From 51b99cbfa060e1c1f82f2b7c5fd3f3e6cd024db4 Mon Sep 17 00:00:00 2001
From: laurentheirendt <laurent.heirendt@uni.lu>
Date: Thu, 9 Jul 2020 15:57:13 +0200
Subject: [PATCH] reset submodule

---
 .ci/deploy.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/deploy.sh b/.ci/deploy.sh
index 9e9515e7..94b27cb6 100644
--- a/.ci/deploy.sh
+++ b/.ci/deploy.sh
@@ -18,7 +18,8 @@ else
 fi
 
 # build the unstable version - can be optimized
-git submodule update --recursive --init
+git submodule foreach --recursive git reset --hard
+git submodule update --init --recursive
 
 # add matomo
 sed -i "/matomohead/r./.ci/analytics/head.html" theme/templates/_index.html
-- 
GitLab