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