From 1328fb7beb506d0be3921d87c33d755db32595bf Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 11 Apr 2022 23:46:29 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad9ec1b..0980a8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,5 +41,10 @@ deploy-job: # This job runs in the deploy stage. script: - echo "Déploiement..." - cd /home/webmaster/articles - - find -name '*.gsl' -exec gsl check $(ls {}) && gsl make $(ls {}) \; + - |+ + for postfile in $(ls *.gsl) + do + echo "Construction de $postfile" + gsl check $postfile && gsl make $postfile + done - echo "Déploiement terminé."