From cdf7a1c81e5631362d6c07544f182d4ac2a3cc84 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 12 Aug 2022 15:58:56 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb1eeaf..0a1b54b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,11 +22,11 @@ synchro-et-tests: script: - rsync -avzlh * /home/webmaster/site-chalec.org/articles/ - |+ - files= + files="" files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl) - cd /home/webmaster/site-chalec.org - |+ - errors= + errors="" for file in $files do echo "Test de $file" @@ -42,11 +42,11 @@ deploiement: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. script: - |+ - files= + files="" files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl) - cd /home/webmaster/site-chalec.org - |+ - errors= + errors="" for file in $files do echo "Construction de $file"