Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-13 23:55:42 +00:00
parent d08817449f
commit bc5b07b185
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ synchro-et-tests:
- rsync -avzlh * /home/webmaster/site-a-lec.org/articles/
- |+
files=""
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl)
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl")
- cd /home/webmaster/site-a-lec.org
- |+
errors=0
@ -49,7 +49,7 @@ deploiement: # This job runs in the deploy stage.
script:
- |+
files=""
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl)
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl")
- cd /home/webmaster/site-a-lec.org
- |+
errors=0