From 72b750518d961adb84b8b45923390598fe364750 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Thu, 3 Apr 2025 10:02:32 -0300 Subject: [PATCH] Add test deploy stage to .gitlab-ci.yml - Adds a test stage to build the site. - Uses a specific Hugo image for testing. - Only runs tests on merge requests and fr-translation. --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1cf6e6..1a9b73e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,19 @@ image: alpine:latest +stages: + - test + - deploy + +test_build: + stage: test + image: klakegg/hugo:0.111.3-ext-alpine-ci + script: + - hugo version + - hugo --minify + only: + - merge_requests + - fr-translation + deploy: stage: deploy before_script: