image: node:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
install:
stage: install
script:
- npm install
artifacts:
paths:
- node_modules/
test:
before_script:
- apt-get update -qq && apt-get install -y -qq hugo
- hugo
except:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
- public
only: