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é."