This commit is contained in:
Hannaeko 2021-07-29 22:59:55 +02:00
parent 9c9c4bdd4c
commit 00d3a32d9d

View file

@ -16,7 +16,7 @@ deploy:
- | - |
for zonefile in zones/*; do for zonefile in zones/*; do
zone=$(basename $zonefile) zone=$(basename $zonefile)
echo $(echo -n $zone | sha1sum | cut -f1 -d' ').zones 0 IN PTR $zone. >> catalog-zone/dns-witch-catalog.zone echo $(echo -n $zone | sha1sum | cut -f1 -d' ').zones 0 IN PTR $zone. >> catalog-zones/dns-witch-catalog.zone
done done
- '[ -n "$(git diff --name-only HEAD~ zones)" ] && scp $(git diff --name-only HEAD~ zones) ${SSH_PRIMARY_NS}:/var/lib/knot/zones' - '[ -n "$(git diff --name-only HEAD~ zones)" ] && scp $(git diff --name-only HEAD~ zones) ${SSH_PRIMARY_NS}:/var/lib/knot/zones'
- scp catalog-zones ${SSH_PRIMARY_NS}:/var/lib/knot - scp catalog-zones ${SSH_PRIMARY_NS}:/var/lib/knot