diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4731dd4..29a99a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ synchro-et-tests: if [ -z "$CI_COMMIT_SHA" ]; then files=$(find . -name "*.stl" -printf %P) else - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P ") + files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P\n") fi echo -e "Test de : \n $files" @@ -65,7 +65,7 @@ deploiement: # This job runs in the deploy stage. if [ -z "$CI_COMMIT_SHA" ] ; then files=$(find . -name "*.stl" -printf %P) else - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P ") + files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P\n") fi echo -e "Test de : \n $files" - cd /home/webmaster/site-a-lec.org