Update .gitlab-ci.yml file
This commit is contained in:
parent
7e071a671d
commit
d23ce5f5a6
|
@ -22,7 +22,7 @@ synchro-et-tests:
|
||||||
script:
|
script:
|
||||||
- rsync -avzlh * /home/webmaster/site-chalec.org/articles/
|
- rsync -avzlh * /home/webmaster/site-chalec.org/articles/
|
||||||
- files=($(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || exit 0))
|
- files=($(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || exit 0))
|
||||||
- cd /home/webmaster/site-chalec.org/articles
|
- cd /home/webmaster/site-chalec.org
|
||||||
- |+
|
- |+
|
||||||
for file in $files
|
for file in $files
|
||||||
do
|
do
|
||||||
|
@ -36,8 +36,8 @@ synchro-et-tests:
|
||||||
deploiement: # This job runs in the deploy stage.
|
deploiement: # This job runs in the deploy stage.
|
||||||
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
script:
|
script:
|
||||||
- cd /home/webmaster/site-chalec.org/articles
|
|
||||||
- files=($(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || exit 0))
|
- files=($(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA|grep stl || exit 0))
|
||||||
|
- cd /home/webmaster/site-chalec.org
|
||||||
- |+
|
- |+
|
||||||
for file in $files
|
for file in $files
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue