make things more generic/pluggable
This commit is contained in:
parent
f9a29c1022
commit
cff0806371
@ -10,6 +10,9 @@ include:
|
|||||||
output: assets/indices
|
output: assets/indices
|
||||||
root: "."
|
root: "."
|
||||||
- local: "/.gitlab/hugo.template.yml"
|
- local: "/.gitlab/hugo.template.yml"
|
||||||
|
inputs:
|
||||||
|
root: content
|
||||||
|
theme: hugo-book
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- index
|
- index
|
||||||
|
@ -15,8 +15,8 @@ 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}
|
||||||
- ls -l content
|
- ls -l $[[ inputs.root ]]
|
||||||
- ls -l themes/hugo-book
|
- ls -l themes/$[[ inputs.theme ]]
|
||||||
- hugo --minify -t $[[ inputs.theme ]] -c $[[ inputs.root ]]
|
- hugo --minify -t $[[ inputs.theme ]] -c $[[ inputs.root ]]
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user