diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f3699f..079cc48 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ synchro-et-tests: - rsync -avzlh * /home/webmaster/site-a-lec.org/articles/ - |+ files="" - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl) + files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl") - cd /home/webmaster/site-a-lec.org - |+ errors=0 @@ -49,7 +49,7 @@ deploiement: # This job runs in the deploy stage. script: - |+ files="" - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl) + files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl") - cd /home/webmaster/site-a-lec.org - |+ errors=0