From 46837195ed38fa39b63789ef4ec548bb7f4d3363 Mon Sep 17 00:00:00 2001 From: Andrea Borruso Date: Thu, 31 Aug 2017 19:42:33 +0200 Subject: [PATCH] Init and update of submodules in .gitlab-ci.yml The "Completion of the Hugo Quick Start" is an assumption, and there you install a hugo theme via git submodule, than it's necessary to add the rows I have added. --- content/hosting-and-deployment/hosting-on-gitlab.md | 4 ++++ 1 file changed, 4 insertions(+) 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