Update .gitlab-ci.yml file
This commit is contained in:
parent
1328fb7beb
commit
2d56c13a76
|
@ -15,7 +15,6 @@
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- build
|
- build
|
||||||
- test
|
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
build-job:
|
build-job:
|
||||||
|
@ -25,15 +24,8 @@ build-job:
|
||||||
- cd /home/webmaster/articles
|
- cd /home/webmaster/articles
|
||||||
- git checkout -- .
|
- git checkout -- .
|
||||||
- git pull
|
- git pull
|
||||||
|
|
||||||
test-job:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- echo "Exécution de gsl check..."
|
|
||||||
- cd /home/webmaster/articles
|
|
||||||
- rsync fichiers/.[^.]* /var/lib/gsl/domains/chalec.org/files
|
- rsync fichiers/.[^.]* /var/lib/gsl/domains/chalec.org/files
|
||||||
- rsync images/.[^.]* /var/lib/gsl/domains/chalec.org/images
|
- rsync images/.[^.]* /var/lib/gsl/domains/chalec.org/images
|
||||||
- gsl check -F
|
|
||||||
|
|
||||||
|
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
|
|
Loading…
Reference in New Issue