Update .gitlab-ci.yml file
This commit is contained in:
parent
07f06cbc9c
commit
3211bf171c
|
@ -30,7 +30,7 @@ synchro-et-tests:
|
||||||
if [ -z "$CI_COMMIT_SHA" ]; then
|
if [ -z "$CI_COMMIT_SHA" ]; then
|
||||||
files=$(find . -name "*.stl" -printf %P)
|
files=$(find . -name "*.stl" -printf %P)
|
||||||
else
|
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
|
fi
|
||||||
echo -e "Test de : \n $files"
|
echo -e "Test de : \n $files"
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ deploiement: # This job runs in the deploy stage.
|
||||||
if [ -z "$CI_COMMIT_SHA" ] ; then
|
if [ -z "$CI_COMMIT_SHA" ] ; then
|
||||||
files=$(find . -name "*.stl" -printf %P)
|
files=$(find . -name "*.stl" -printf %P)
|
||||||
else
|
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
|
fi
|
||||||
echo -e "Test de : \n $files"
|
echo -e "Test de : \n $files"
|
||||||
- cd /home/webmaster/site-a-lec.org
|
- cd /home/webmaster/site-a-lec.org
|
||||||
|
|
Loading…
Reference in New Issue