Actualiser .forgejo/workflows/ci.yaml
This commit is contained in:
parent
5c161ea6c5
commit
6a21f82834
|
@ -14,10 +14,15 @@ jobs:
|
||||||
echo "Cloned sucessfully from ${{ gitea.server_url }}/${{ gitea.repository }}"
|
echo "Cloned sucessfully from ${{ gitea.server_url }}/${{ gitea.repository }}"
|
||||||
cd dns
|
cd dns
|
||||||
echo "We're in DNS"
|
echo "We're in DNS"
|
||||||
echo "$(git diff-tree --no-commit-id --name-only -r main | grep '*.zone')"
|
files=$(git diff-tree --no-commit-id --name-only -r main | grep '*.zone')
|
||||||
files=$(git diff-tree --no-commit-id --name-only -r main | grep "*.zone")
|
|
||||||
|
if [ -z $files]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Have to test $files"
|
echo "Have to test $files"
|
||||||
echo "" > /var/cache/bind/.modified
|
echo "" > /var/cache/bind/.modified
|
||||||
|
|
||||||
for file in $files
|
for file in $files
|
||||||
do
|
do
|
||||||
domain=$(echo $file | sed "s/.zone//g")
|
domain=$(echo $file | sed "s/.zone//g")
|
||||||
|
|
Loading…
Reference in New Issue