Actualiser .forgejo/workflows/ci.yaml
/ sync (push) Failing after 0s Details
/ deploiement (push) Failing after 0s Details
/ tests-and-sync (push) Failing after 0s Details

This commit is contained in:
Adrien Bourmault 2023-10-25 00:53:50 +02:00
parent 73597e1e57
commit 89d0ee1f58
1 changed files with 2 additions and 2 deletions

View File

@ -15,13 +15,13 @@ jobs:
shell: bash
run: |
cd dns
files=$(git diff-tree --no-commit-id --name-only -r master | grep "*.zone")
files=$(git diff-tree --no-commit-id --name-only -r main | grep "*.zone")
for file in $files
do
domain=$(echo $file | sed "s/.zone//g")
/usr/sbin/named-checkzone "$domain" "$file" || exit 2
done
echo $(git diff-tree --no-commit-id --name-only -r master | grep "*.zone") > /var/cache/bind/.modified
echo $(git diff-tree --no-commit-id --name-only -r main | grep "*.zone") > /var/cache/bind/.modified
- run: echo "Job ended with status '${{ job.status }}'."
sync: