fix yaml
This commit is contained in:
parent
39e9de8c77
commit
9c9c4bdd4c
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ deploy:
|
||||||
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-zone/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
|
||||||
- ssh ${SSH_PRIMARY_NS} 'chown -R knot:knot /var/lib/knot/{zones,catalog-zones} && knotc reload'
|
- ssh ${SSH_PRIMARY_NS} 'chown -R knot:knot /var/lib/knot/{zones,catalog-zones} && knotc reload'
|
||||||
|
|
Loading…
Reference in a new issue