diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 4ea74bf..2c5345b 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -15,13 +15,13 @@ jobs: shell: bash run: | cd dns - files=$(git diff-tree --no-commit-id --name-only -r master | grep "*.zone") + files=$(git diff-tree --no-commit-id --name-only -r main | grep "*.zone") for file in $files do domain=$(echo $file | sed "s/.zone//g") /usr/sbin/named-checkzone "$domain" "$file" || exit 2 done - echo $(git diff-tree --no-commit-id --name-only -r master | grep "*.zone") > /var/cache/bind/.modified + echo $(git diff-tree --no-commit-id --name-only -r main | grep "*.zone") > /var/cache/bind/.modified - run: echo "Job ended with status '${{ job.status }}'." sync: