Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-14 11:06:25 +00:00
parent 07f06cbc9c
commit 3211bf171c
1 changed files with 2 additions and 2 deletions

View File

@ -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 ")
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 ")
fi
echo -e "Test de : \n $files"
- cd /home/webmaster/site-a-lec.org