Update .gitlab-ci.yml file
This commit is contained in:
parent
01332edb76
commit
706c2c5052
|
@ -60,7 +60,10 @@ deploy-job: # This job runs in the deploy stage.
|
||||||
- |+
|
- |+
|
||||||
for file in $files
|
for file in $files
|
||||||
do
|
do
|
||||||
cp "$file" "/var/cache/bind/$file"
|
if [[ "$file" =~ .*"zone".* ]]
|
||||||
|
then
|
||||||
|
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é."
|
||||||
|
|
Loading…
Reference in New Issue