fix zone check
This commit is contained in:
parent
59cfc3b356
commit
550805bff1
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ deploy:
|
|||
script:
|
||||
- |
|
||||
for zonefile in zones/*; do
|
||||
zone=$(basename $zonefile)
|
||||
kzonecheck -v -o $zone zone/$zonefile
|
||||
zone=$(basename $zonefile .zone)
|
||||
kzonecheck -v -o $zone $zonefile
|
||||
echo $(echo -n $zone | sha1sum | cut -f1 -d' ').zones 0 IN PTR $zone. >> catalog-zones/dns-witch-catalog.zone
|
||||
done
|
||||
- '[ -n "$(git diff --name-only HEAD~ zones)" ] && scp $(git diff --name-only HEAD~ zones) ${SSH_PRIMARY_NS}:/var/lib/knot/zones'
|
||||
|
|
Loading…
Reference in a new issue