make things more generic/pluggable

This commit is contained in:
parent f9a29c1022
commit cff0806371
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 5 additions and 2 deletions

@ -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: