Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-04-11 23:31:20 +00:00
parent baca54ba77
commit fe8aa31c8f
1 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ test-job:
- 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 - gsl check -F
- find -name '*.gsl' -exec gsl check {} \;
deploy-job: # This job runs in the deploy stage. deploy-job: # 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.
@ -41,5 +43,5 @@ deploy-job: # This job runs in the deploy stage.
- echo "Déploiement..." - echo "Déploiement..."
- cd /home/webmaster/articles - cd /home/webmaster/articles
- gsl make -F - gsl make -F
- gsl make - find -name '*.gsl' -exec gsl make {} \;
- echo "Déploiement terminé." - echo "Déploiement terminé."