diff --git a/content/hosting-and-deployment/hosting-on-gitlab.md b/content/hosting-and-deployment/hosting-on-gitlab.md index 93489d948..00f2cd18d 100644 --- a/content/hosting-and-deployment/hosting-on-gitlab.md +++ b/content/hosting-and-deployment/hosting-on-gitlab.md @@ -40,6 +40,10 @@ In the root directory of your Hugo site, create a `.gitlab-ci.yml` file. The `.g {{< code file="gitlab-ci.yml" >}} image: monachus/hugo +before_script: + - git submodule init + - git submodule update --force + pages: script: - hugo