From 13c0078d693d05c0ce2e0152d7b05f4c0a6aaa87 Mon Sep 17 00:00:00 2001 From: neko Date: Wed, 7 Aug 2024 11:53:59 +0000 Subject: [PATCH] upd ci --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2895308..afbbf04 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,20 @@ variables: DEST_DIRECTORY: latest/hugo stages: + - test - build - push +before_script: + - apk add --no-cache go curl bash nodejs + - hugo mod get -u + +test: + script: + - hugo + rules: + - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH + build: before_script: - hugo version