diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 71364ac..ef1ddd0 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -34,13 +34,13 @@ jobs: RECORD=$(echo "$line" | sed 's/^+//' | sed 's/^\([^ ]\+\)\(\s\+\)\(IN A\)\(\s\+\)[^ ]\+/\1.a-lec.org.\2\3/') echo "update delete $RECORD" echo -e "server ${{vars.DNS_SERVER}}\nupdate delete $RECORD\nsend" > temp_delete - nsupdate -6 -k temp_keyfile temp_delete + nsupdate -k temp_keyfile temp_delete rm temp_delete elif [[ $line == +* ]]; then # Enregistrement ajouté RECORD=$(echo "$line" | sed 's/^+//' | sed 's/^\([^ ]\+\)\(\s\+\)\(IN A\)/\1.a-lec.org.\2\3/') echo "update add $RECORD" echo -e "server ${{vars.DNS_SERVER}}\nupdate add $RECORD\nsend" > temp_add - nsupdate -6 -k temp_keyfile temp_add + nsupdate -k temp_keyfile temp_add rm temp_add fi fi