From 796934df00bf0177607523d9822ef7c24ec1d93d Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 12 Aug 2022 15:57:24 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd7a993..eb1eeaf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,9 @@ synchro-et-tests: stage: build script: - rsync -avzlh * /home/webmaster/site-chalec.org/articles/ - - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || ls *.stl) + - |+ + 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= @@ -39,7 +41,9 @@ synchro-et-tests: deploiement: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. script: - - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || ls *.stl) + - |+ + 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=