Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 16:37:36 +00:00
parent a99490ce3c
commit 9fbc51db55
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ test-job: # This job runs in the test stage.
if [ -z "$CI_COMMIT_SHA" ]; then
files=$(find . -name "*.zone" -printf %P)
else
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep zone)
files=$(echo $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) | grep zone)
fi
- |+
if [ -z "$files" ]; then