diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5eb22b7a74260f162b75bc655cf46113ded99e57..874de5e28449f3328a2625db20de9d7750384d0b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,8 @@ upload:
 
 pages:
   stage: generate_pages
+  variables:
+    GIT_SUBMODULE_STRATEGY: recursive
   script:
     - apk add bash make gcc linux-headers musl-dev
     - make generate