From c9997839eceaace5a206f8a16bdfeb2c5cf0d846 Mon Sep 17 00:00:00 2001 From: Luca Berton Date: Wed, 22 Nov 2017 20:44:05 +0100 Subject: [PATCH] Update gitlab CI submodule management --- content/hosting-and-deployment/hosting-on-gitlab.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/hosting-and-deployment/hosting-on-gitlab.md b/content/hosting-and-deployment/hosting-on-gitlab.md index 05a9a2d56..c38908cae 100644 --- a/content/hosting-and-deployment/hosting-on-gitlab.md +++ b/content/hosting-and-deployment/hosting-on-gitlab.md @@ -4,7 +4,7 @@ linktitle: Host on GitLab description: GitLab makes it incredibly easy to build, deploy, and host your Hugo website via their free GitLab Pages service, which provides native support for Hugo. date: 2016-06-23 publishdate: 2016-06-23 -lastmod: 2016-06-23 +lastmod: 2017-11-16 categories: [hosting and deployment] keywords: [hosting,deployment,git,gitlab] authors: [Riku-Pekka Silvola] @@ -40,9 +40,8 @@ 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 +variables: + GIT_SUBMODULE_STRATEGY: recursive pages: script: