From 27d52aa776a044302bc714417458162c56b005db Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 24 Jun 2022 22:01:58 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 27e31e6..3813ab0 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 - - gsl check | grep Err + - gsl check - test -z "$(gsl check | grep Err)" - gsl sync wip @@ -38,7 +38,7 @@ deploiement: # This job runs in the deploy stage. for postfile in $(ls *.gsl) do echo "Construction de $postfile" - gsl make $postfile | grep Err + gsl make $postfile test -z "$(gsl make $postfile | grep Err)" done - echo "Déploiement terminé." \ No newline at end of file