Update .gitlab-ci.yml file
This commit is contained in:
parent
796934df00
commit
cdf7a1c81e
|
@ -22,11 +22,11 @@ synchro-et-tests:
|
|||
script:
|
||||
- rsync -avzlh * /home/webmaster/site-chalec.org/articles/
|
||||
- |+
|
||||
files=
|
||||
files=""
|
||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl)
|
||||
- cd /home/webmaster/site-chalec.org
|
||||
- |+
|
||||
errors=
|
||||
errors=""
|
||||
for file in $files
|
||||
do
|
||||
echo "Test de $file"
|
||||
|
@ -42,11 +42,11 @@ deploiement: # This job runs in the deploy stage.
|
|||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
script:
|
||||
- |+
|
||||
files=
|
||||
files=""
|
||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || ls *.stl)
|
||||
- cd /home/webmaster/site-chalec.org
|
||||
- |+
|
||||
errors=
|
||||
errors=""
|
||||
for file in $files
|
||||
do
|
||||
echo "Construction de $file"
|
||||
|
|
Loading…
Reference in New Issue