diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a98db5..5739e54 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,8 @@ synchro-et-tests: - rsync -avzlh images/ /var/lib/gsl/domains/a-lec.org/images/ - cd /home/webmaster/articles - gsl check + - test -z "$(gsl check | grep Err)" + - gsl sync wip deploiement: # This job runs in the deploy stage. @@ -36,6 +38,7 @@ deploiement: # This job runs in the deploy stage. for postfile in $(ls *.gsl) do echo "Construction de $postfile" - gsl check $postfile && gsl make $postfile && gsl check $postfile && gsl make $postfile + gsl make $postfile + test -z "$(gsl make $postfile | grep Err)" done - echo "Déploiement terminé."