From 54f198a3aaf6c5330414b5a9822e106d1e5464f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Berthaud-M=C3=BCller?= Date: Thu, 29 Jul 2021 23:45:07 +0200 Subject: [PATCH] fix scp --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'