From 2ba369cba97e8508b8318ea1b907a308d85e7b0e Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 11 Oct 2022 22:51:14 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dac0a13..9ac7f06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,4 +58,10 @@ deploy-job: # This job runs in the deploy stage. fi - echo "Déploiement des zones $files..." + - |+ + for file in $files + do + cp "$file" "/var/cache/bind/$file" + done + sudo systemctl reload bind9.service - echo "Déploiement terminé."