image: registry.gitlab.com/pages/hugo/hugo_extended:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- curl https://get.volta.sh | bash
- npm install
test:
script:
- hugo
except:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
artifacts:
paths:
- public
only: