From 237cf01165171cdedbc4b6ae1e3a20977578c1c9 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Thu, 30 Nov 2023 18:51:10 +0100 Subject: [PATCH] Actualiser .forgejo/workflows/ci.yaml --- .forgejo/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index c1fecf7..e759da3 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -14,12 +14,12 @@ jobs: echo "Cloned sucessfully from ${{ gitea.server_url }}/${{ gitea.repository }}" cd dns echo "We're in DNS" - files=$(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') - if [ -z $files]; then + if [ -z $(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') ]; then exit 0 fi + files=$(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') echo "Have to test $files" echo "" > /var/cache/bind/.modified