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
do
cp "$file" "/var/cache/bind/$file"
if [[ "$file" =~ .*"zone".* ]]
then
cp "$file" "/var/cache/bind/$file"
fi
done
sudo systemctl reload bind9.service
- echo "Déploiement terminé."