21 lines
398 B
YAML
21 lines
398 B
YAML
variables:
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
|
HUGO_ENV: production
|
|
setup-hugo:
|
|
tags:
|
|
- docker
|
|
stage: setup-hugo
|
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
|
script:
|
|
- cd ${CI_PROJECT_DIR}
|
|
- hugo --minify -t hugo-book
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
|
|
# runs:
|
|
# using: 'node16'
|
|
# main: 'lib/index.js'
|
|
# branding:
|
|
# icon: 'package'
|
|
# color: 'yellow' |