Update .gitlab-ci.yml file
This commit is contained in:
parent
c7dc5ec371
commit
b34199aef3
|
@ -21,7 +21,7 @@ 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)
|
||||
- files=($(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl))
|
||||
- cd /home/webmaster/site-chalec.org/articles
|
||||
- |+
|
||||
for file in $files
|
||||
|
@ -38,7 +38,7 @@ deploiement: # This job runs in the deploy stage.
|
|||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||
script:
|
||||
- cd /home/webmaster/site-chalec.org/articles
|
||||
- files=(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl)
|
||||
- files=($(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl))
|
||||
- |+
|
||||
for file in $files
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue