From e85873cb7d69a0394dc419ca89503e4f4e9dce3e Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 15 Oct 2022 17:38:06 +0000 Subject: [PATCH] Revert "Update .gitlab-ci.yml file" This reverts commit d2174b6eba22556ae62c54c8891b25ed2c0d7bc6 --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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