Commande test ?
This commit is contained in:
parent
23ece8059a
commit
4e6ca178a5
|
@ -25,7 +25,7 @@ synchro-et-tests:
|
|||
- 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
|
||||
- test ! -z "$(gsl check | grep Err)"
|
||||
- test -z "$(gsl check | grep Err)"
|
||||
- gsl sync wip
|
||||
|
||||
|
||||
|
@ -37,6 +37,6 @@ deploiement: # This job runs in the deploy stage.
|
|||
for postfile in $(ls *.gsl)
|
||||
do
|
||||
echo "Construction de $postfile"
|
||||
test ! -z "$(gsl make $postfile | grep Err)"
|
||||
test -z "$(gsl make $postfile | grep Err)"
|
||||
done
|
||||
- echo "Déploiement terminé."
|
Loading…
Reference in New Issue