Merge branch 'master' of git.a-lec.org:a-lec/commissions/infrastructure/www

This commit is contained in:
Christian P. MOMON 2022-06-26 10:55:19 +02:00
commit be363028f5
1 changed files with 5 additions and 1 deletions

View File

@ -24,8 +24,11 @@ synchro-et-tests:
- mkdir -p /var/lib/gsl/domains/a-lec.org/files/ /var/lib/gsl/domains/a-lec.org/images
- rsync -avzlh fichiers/ /var/lib/gsl/domains/a-lec.org/files/
- rsync -avzlh images/ /var/lib/gsl/domains/a-lec.org/images/
- files=(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
- cd /home/webmaster/articles
- gsl check
- test -z "$(gsl check | grep Err)"
- gsl sync wip
deploiement: # This job runs in the deploy stage.
@ -36,6 +39,7 @@ deploiement: # This job runs in the deploy stage.
for postfile in $(ls *.gsl)
do
echo "Construction de $postfile"
gsl check $postfile && gsl make $postfile && gsl check $postfile && gsl make $postfile
gsl make $postfile
test -z "$(gsl make $postfile | grep Err)"
done
- echo "Déploiement terminé."