Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-04-11 23:43:06 +00:00
parent 7583dcd08b
commit 7a43bc37e9
1 changed files with 2 additions and 2 deletions

View File

@ -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é."