Update .gitlab-ci.yml file
This commit is contained in:
parent
3831ac88db
commit
796934df00
|
@ -21,7 +21,9 @@ synchro-et-tests:
|
|||
stage: build
|
||||
script:
|
||||
- rsync -avzlh * /home/webmaster/site-chalec.org/articles/
|
||||
- files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || ls *.stl)
|
||||
- |+
|
||||
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=
|
||||
|
@ -39,7 +41,9 @@ synchro-et-tests:
|
|||
deploiement: # This job runs in the deploy stage.
|
||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
script:
|
||||
- files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || ls *.stl)
|
||||
- |+
|
||||
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=
|
||||
|
|
Loading…
Reference in New Issue