diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34c52b7..ad9ec1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,7 +33,7 @@ test-job: - cd /home/webmaster/articles - rsync fichiers/.[^.]* /var/lib/gsl/domains/chalec.org/files - rsync images/.[^.]* /var/lib/gsl/domains/chalec.org/images - - find -name '*.gsl' -exec gsl check $(ls {}) \; + - gsl check -F deploy-job: # This job runs in the deploy stage. @@ -41,5 +41,5 @@ deploy-job: # This job runs in the deploy stage. script: - echo "Déploiement..." - cd /home/webmaster/articles - - find -name '*.gsl' -exec gsl make $(ls {}) \; + - find -name '*.gsl' -exec gsl check $(ls {}) && gsl make $(ls {}) \; - echo "Déploiement terminé."