Actualiser .forgejo/workflows/ci.yaml
/ sync (push) Successful in 0s Details
/ deploiement (push) Failing after 0s Details

This commit is contained in:
Adrien Bourmault 2023-11-30 18:51:10 +01:00
parent 6a21f82834
commit 237cf01165
1 changed files with 2 additions and 2 deletions

View File

@ -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