Actualiser .forgejo/workflows/ci.yaml
This commit is contained in:
parent
237cf01165
commit
309b0afac6
|
@ -13,7 +13,7 @@ jobs:
|
||||||
git clone ${{ gitea.server_url }}/${{ gitea.repository }} dns
|
git clone ${{ gitea.server_url }}/${{ gitea.repository }} dns
|
||||||
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 "" > /var/cache/bind/.modified
|
||||||
|
|
||||||
if [ -z $(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') ]; then
|
if [ -z $(git diff-tree --no-commit-id --name-only -r main | grep '*.zone') ]; then
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -21,7 +21,6 @@ jobs:
|
||||||
|
|
||||||
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')
|
||||||
echo "Have to test $files"
|
echo "Have to test $files"
|
||||||
echo "" > /var/cache/bind/.modified
|
|
||||||
|
|
||||||
for file in $files
|
for file in $files
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue