Merge branch 'master' of git.a-lec.org:a-lec/commissions/infrastructure/www
This commit is contained in:
commit
be363028f5
|
@ -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é."
|
||||
|
|
Loading…
Reference in New Issue