Bug CI normalement résolu

This commit is contained in:
Adrien Bourmault 2022-08-14 11:11:12 +00:00
parent cab8599c2f
commit 91e5b69b21
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\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