update hugo again
This commit is contained in:
parent
1f8770687d
commit
7f9ce09789
@ -1,6 +1,12 @@
|
|||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
HUGO_ENV: production
|
HUGO_ENV: production
|
||||||
|
spec:
|
||||||
|
inputs:
|
||||||
|
theme:
|
||||||
|
default: hugo-book
|
||||||
|
root:
|
||||||
|
default: content
|
||||||
setup-hugo:
|
setup-hugo:
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
@ -8,7 +14,7 @@ setup-hugo:
|
|||||||
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||||
script:
|
script:
|
||||||
- cd ${CI_PROJECT_DIR}
|
- cd ${CI_PROJECT_DIR}
|
||||||
- hugo --minify -t hugo-book
|
- hugo --minify -t $[[ inputs.theme ]] -c $[[ inputs.root ]]
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
Loading…
Reference in New Issue
Block a user