Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-14 09:10:16 +00:00
parent 61c96a71dd
commit 1013354ba4
1 changed files with 2 additions and 0 deletions

View File

@ -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