Update gitlab CI submodule management

This commit is contained in:
Luca Berton authored and digitalcraftsman committed 2017-11-22 20:44:05 +01:00
1 parent 82d74e3063
commit c9997839ec
1 file changed
+3 -4
@@ -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. 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 date: 2016-06-23
publishdate: 2016-06-23 publishdate: 2016-06-23
lastmod: 2016-06-23 lastmod: 2017-11-16
categories: [hosting and deployment] categories: [hosting and deployment]
keywords: [hosting,deployment,git,gitlab] keywords: [hosting,deployment,git,gitlab]
authors: [Riku-Pekka Silvola] 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" >}} {{< code file="gitlab-ci.yml" >}}
image: monachus/hugo image: monachus/hugo
before_script: variables:
- git submodule init GIT_SUBMODULE_STRATEGY: recursive
- git submodule update --force
pages: pages:
script: script: