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

This commit is contained in:
Adrien Bourmault 2023-11-30 20:34:52 +01:00
parent 216472eeea
commit c1d823cc4c
1 changed files with 2 additions and 3 deletions

View File

@ -15,12 +15,11 @@ jobs:
cd dns
echo "" > /var/cache/bind/.modified
if [ -z $(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') ]; 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"
files=$(git diff-tree --no-commit-id --name-only -r main | grep zone)
for file in $files
do