En attendant les conventions d'appel...
This commit is contained in:
parent
e47a068cd8
commit
7bc646f7d1
|
@ -23,8 +23,10 @@ synchro-et-tests:
|
||||||
- rsync -avzlh * /home/webmaster/articles/
|
- rsync -avzlh * /home/webmaster/articles/
|
||||||
- rsync -avzlh fichiers/ /var/lib/gsl/domains/chalec.org/files/
|
- rsync -avzlh fichiers/ /var/lib/gsl/domains/chalec.org/files/
|
||||||
- rsync -avzlh images/ /var/lib/gsl/domains/chalec.org/images/
|
- rsync -avzlh images/ /var/lib/gsl/domains/chalec.org/images/
|
||||||
|
- files=(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||||
- cd /home/webmaster/articles
|
- cd /home/webmaster/articles
|
||||||
- gsl check | grep "Err" && gsl sync wip
|
- if [ ! gsl check | grep "Err" ]; then exit 0 fi
|
||||||
|
- gsl sync wip
|
||||||
|
|
||||||
|
|
||||||
deploiement: # This job runs in the deploy stage.
|
deploiement: # This job runs in the deploy stage.
|
||||||
|
@ -35,6 +37,6 @@ deploiement: # This job runs in the deploy stage.
|
||||||
for postfile in $(ls *.gsl)
|
for postfile in $(ls *.gsl)
|
||||||
do
|
do
|
||||||
echo "Construction de $postfile"
|
echo "Construction de $postfile"
|
||||||
gsl make $postfile | grep "Err"
|
if [ ! gsl make $postfile | grep "Err" ]; then echo OK fi
|
||||||
done
|
done
|
||||||
- echo "Déploiement terminé."
|
- echo "Déploiement terminé."
|
Loading…
Reference in New Issue