diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ed4b813..f785c50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ synchro-et-tests: - rsync -avzlh images/ /var/lib/gsl/domains/chalec.org/images/ - files=(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) - cd /home/webmaster/articles - - if [ ! gsl check | grep "Err" ]; then exit 0 fi + - [ ! gsl check | grep "Err" ] - gsl sync wip @@ -37,6 +37,6 @@ deploiement: # This job runs in the deploy stage. for postfile in $(ls *.gsl) do echo "Construction de $postfile" - if [ ! gsl make $postfile | grep "Err" ]; then echo OK fi + [ ! gsl make $postfile | grep "Err" ] done - echo "Déploiement terminé." \ No newline at end of file