Actualiser .forgejo/workflows/ci.yaml
This commit is contained in:
parent
73597e1e57
commit
89d0ee1f58
|
@ -15,13 +15,13 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd dns
|
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
|
for file in $files
|
||||||
do
|
do
|
||||||
domain=$(echo $file | sed "s/.zone//g")
|
domain=$(echo $file | sed "s/.zone//g")
|
||||||
/usr/sbin/named-checkzone "$domain" "$file" || exit 2
|
/usr/sbin/named-checkzone "$domain" "$file" || exit 2
|
||||||
done
|
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 }}'."
|
- run: echo "Job ended with status '${{ job.status }}'."
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
|
|
Loading…
Reference in New Issue