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.
This commit is contained in:
Andrea Borruso
2017-08-31 19:42:33 +02:00
committed by digitalcraftsman
parent 9e7c28276a
commit 46837195ed
@@ -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