diff --git a/.ci/deploy.sh b/.ci/deploy.sh index 9e9515e78d996b01fd5d942c72714b58b3e3a891..94b27cb622d9ffbe3fc65ad45a6255cb2fdc35bc 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