From 935a63c54a81778e7798991efebf820988d460c0 Mon Sep 17 00:00:00 2001 From: Mr Felix Berg Date: Fri, 14 Mar 2025 13:28:12 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c86dcc8..d57d098 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,28 +18,27 @@ after_script: - echo "After script section" - echo "For example you might do some cleanup here" +image: ubuntu:22.04 + build1: stage: build script: - echo "Do your build here" -warningtest: - stage: test -# tags: -# - deployer - script: - - echo "checking for warnings in the html validation" - - ls - - sh warning-test.sh - -errortest: +validate_test: stage: test # tags: # - deployer script: - - echo "checking for errors in the html validation" + - apt install htmlval -y + - echo "Create Validation output" + - htmlval *.html > validate_output.txt + - echo "checking for errors and warnings in the html validation" - ls - - sh error-test.sh + - sh validate-test.sh + artifacts: + paths: + - validate_output.txt deploy1: stage: deploy -- GitLab