Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-11 22:55:12 +00:00
parent 01332edb76
commit 706c2c5052
1 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,10 @@ deploy-job: # This job runs in the deploy stage.
- |+ - |+
for file in $files for file in $files
do do
if [[ "$file" =~ .*"zone".* ]]
then
cp "$file" "/var/cache/bind/$file" cp "$file" "/var/cache/bind/$file"
fi
done done
sudo systemctl reload bind9.service sudo systemctl reload bind9.service
- echo "Déploiement terminé." - echo "Déploiement terminé."