diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d919481..8555d22 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,5 +19,5 @@ deploy: 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 - - scp -r zones catalog-zones ${SSH_PRIMARY_NS}:/var/lib/knot/catalog-zones + - scp -r zones catalog-zones ${SSH_PRIMARY_NS}:/var/lib/knot/ - ssh ${SSH_PRIMARY_NS} 'chown -R knot:knot /var/lib/knot/{zones,catalog-zones} && knotc reload'