image: registry.gitlab.com/pages/hugo:latest stages: - build - deploy variables: GIT_SUBMODULE_STRATEGY: recursive # This build stage will also leave artifacts ready for gitlab pages to use pages: stage: build only: refs: - master script: - hugo artifacts: paths: - public