image: registry.gitlab.com/pages/hugo/hugo_extended:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
build:
image: node:latest
script:
- npm install
test:
- hugo
except:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
artifacts:
paths:
- public
only: