From d3aa31100698369a143108aa61ff0ed15f1bfb03 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 001ed0614e0c0b5bf027dfeef7406fa73e88b311 --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90762f82..26cd1b92 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