make things more generic/pluggable
This commit is contained in:
parent
f9a29c1022
commit
cff0806371
@ -10,6 +10,9 @@ include:
|
||||
output: assets/indices
|
||||
root: "."
|
||||
- local: "/.gitlab/hugo.template.yml"
|
||||
inputs:
|
||||
root: content
|
||||
theme: hugo-book
|
||||
|
||||
stages:
|
||||
- index
|
||||
|
@ -15,8 +15,8 @@ setup-hugo:
|
||||
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||
script:
|
||||
- cd ${CI_PROJECT_DIR}
|
||||
- ls -l content
|
||||
- ls -l themes/hugo-book
|
||||
- ls -l $[[ inputs.root ]]
|
||||
- ls -l themes/$[[ inputs.theme ]]
|
||||
- hugo --minify -t $[[ inputs.theme ]] -c $[[ inputs.root ]]
|
||||
artifacts:
|
||||
paths:
|
||||
|
Loading…
Reference in New Issue
Block a user