Update .gitlab-ci.yml file
This commit is contained in:
parent
61c96a71dd
commit
1013354ba4
|
@ -24,6 +24,7 @@ synchro-et-tests:
|
|||
- |+
|
||||
files=""
|
||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl")
|
||||
if [ -z "$CI_COMMIT_SHA" ]; then files=$(find . -name "*.stl"); fi
|
||||
echo -e "Test de : \n $files"
|
||||
- cd /home/webmaster/site-a-lec.org
|
||||
- |+
|
||||
|
@ -51,6 +52,7 @@ deploiement: # This job runs in the deploy stage.
|
|||
- |+
|
||||
files=""
|
||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl")
|
||||
if [ -z "$CI_COMMIT_SHA" ]; then files=$(find . -name "*.stl"); fi
|
||||
- cd /home/webmaster/site-a-lec.org
|
||||
- |+
|
||||
errors=0
|
||||
|
|
Loading…
Reference in New Issue