Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 16:48:49 +00:00
parent 1a444ebded
commit cf1edd462f
1 changed files with 4 additions and 3 deletions

View File

@ -33,10 +33,11 @@ test-job: # This job runs in the test stage.
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
echo "Pipeline exceptionnel" echo "Pipeline exceptionnel"
fi fi
if [ ! "$files" =~ .*"zone".* ]; then if [ "$files" =~ .*"zone".* ]
echo "Pas de fichier de zone à tester" then
else
echo "Test des zones $files." echo "Test des zones $files."
else
echo "Pas de fichier de zone à tester"
fi fi
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.