Actualiser .forgejo/workflows/ci.yaml
This commit is contained in:
parent
73597e1e57
commit
89d0ee1f58
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue