From cec6a98978f6cf6918b3410a9a1f1e6674c5eb5b Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 20 Aug 2024 18:14:56 +0200 Subject: [PATCH] .forgejo/workflows/ci.yaml: correcting error with ipv4 --- .forgejo/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index ca1e774..fb83752 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -34,13 +34,13 @@ jobs: RECORD=$(echo "$line" | sed 's/^-//') echo "update delete $RECORD" echo -e "server ${{vars.DNS_SERVER}}\nupdate delete $RECORD\nsend" > temp_delete - nsupdate -k temp_keyfile temp_delete + nsupdate -6 -k temp_keyfile temp_delete rm temp_delete elif [[ $line == +* ]]; then # Enregistrement ajouté RECORD=$(echo "$line" | sed 's/^+//') echo "+ $RECORD" echo -e "server ${{vars.DNS_SERVER}}\nupdate add $RECORD\nsend" > temp_add - nsupdate -k temp_keyfile temp_add + nsupdate -6 -k temp_keyfile temp_add rm temp_add fi fi