Actualiser .forgejo/workflows/ci.yaml
/ deploiement (push) Successful in 0s Details
/ sync (push) Successful in 1s Details

This commit is contained in:
Adrien Bourmault 2024-04-24 15:08:10 +02:00
parent f1bf64aade
commit 09acb0c64b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ jobs:
domain=$(echo $file | sed "s/.zone//g") domain=$(echo $file | sed "s/.zone//g")
/usr/bin/named-checkzone "$domain" "$file" || ( echo "Error on file $file" && continue; ) /usr/bin/named-checkzone "$domain" "$file" || ( echo "Error on file $file" && continue; )
echo "$file" >> /var/cache/bind/.modified echo "$file" >> /var/cache/bind/.modified
rsync "$file" /var/cache/bind/ rsync "./$file" /var/cache/bind/
echo "Move $file to /var/cache/bind" echo "Move $file to /var/cache/bind"
done done
sudo chown bind:bind /var/cache/bind/*.zone sudo chown bind:bind /var/cache/bind/*.zone