diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90762f8..26cd1b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,13 @@ image: registry.gitlab.com/pages/hugo/hugo_extended:latest variables: GIT_SUBMODULE_STRATEGY: recursive +test: + script: + - hugo + except: + variables: + - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + interruptible: true pages: script: - hugo --gc --minify --cleanDestinationDir