mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-15 14:16:29 +00:00
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:
1 parent
9e7c28276a
commit
46837195ed
1 file changed
+4
@@ -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" >}}
|
{{< code file="gitlab-ci.yml" >}}
|
||||||
image: monachus/hugo
|
image: monachus/hugo
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- git submodule init
|
||||||
|
- git submodule update --force
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
|
|||||||
Reference in new issue
Block a user