From c7768f7e9f1b40f45a53a3b0281609baf599ac7e Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Wed, 29 Mar 2023 18:02:33 +0200 Subject: [PATCH] Make pipeline pass again And make Vale error message more verbose Signed-off-by: Karel van Klink <karel.vanklink@geant.org> --- docs/.gitlab-ci.yml | 2 +- docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.gitlab-ci.yml b/docs/.gitlab-ci.yml index 3725e69..38aa495 100644 --- a/docs/.gitlab-ci.yml +++ b/docs/.gitlab-ci.yml @@ -41,4 +41,4 @@ lint-documentation: script: - RESULT=$(vale $CI_PROJECT_DIR/docs/build/html/_sources) - echo "$RESULT" - - if echo "$RESULT" | tail -n 1 | grep -q "✖" ; then echo "Please fix all Vale errors and warnings" && exit 1 ; else exit 0 ; fi + - if echo "$RESULT" | tail -n 1 | grep -q "✖" ; then echo -e "\n\n\n\033[0;31mPlease fix all Vale errors and warnings!\033[0m\n\n\n" && exit 1 ; else exit 0 ; fi diff --git a/docs/index.md b/docs/index.md index 62d1ce1..a57f5bc 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ # GÉANT Automation Platform (GAP) -Welcome to the doc/umentation of the GÉANT Automation Platform, also known as GAP. \ +Welcome to the documentation of the GÉANT Automation Platform, also known as GAP. \ The focus of this platform is configuration management and service orchestration for the GÉANT IP/MPLS network. ## Table of Contents -- GitLab