From 1a9b792f9520776584d1bd77277ffcdf5ec9a7f9 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 25 Aug 2022 20:00:51 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4f01d1..9285f7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,6 +52,7 @@ synchro-et-tests: stl check -F $file &> /dev/null stl check -F $file &> /dev/null done + [ $errors -gt 0 ] && false - echo "Fin des tests." @@ -79,4 +80,5 @@ deploiement: # This job runs in the deploy stage. stl wip -F $file | grep -e "Err" -e "erreur de" -e "Aucun fichier" && errors=$((errors+1)) # error if err is read in standard output done [ $errors -gt 0 ] && false + - stl sidebar load - echo "Déploiement terminé."