From 7a43bc37e95aecf79a94928b617d9553d1aab40d Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 11 Apr 2022 23:43:06 +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 34c52b7..ad9ec1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ test-job: - cd /home/webmaster/articles - rsync fichiers/.[^.]* /var/lib/gsl/domains/chalec.org/files - rsync images/.[^.]* /var/lib/gsl/domains/chalec.org/images - - find -name '*.gsl' -exec gsl check $(ls {}) \; + - gsl check -F deploy-job: # This job runs in the deploy stage. @@ -41,5 +41,5 @@ deploy-job: # This job runs in the deploy stage. script: - echo "Déploiement..." - cd /home/webmaster/articles - - find -name '*.gsl' -exec gsl make $(ls {}) \; + - find -name '*.gsl' -exec gsl check $(ls {}) && gsl make $(ls {}) \; - echo "Déploiement terminé."