diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 9e04125..725daca 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -36,7 +36,7 @@ jobs: if [[ $line == -* ]]; then # Enregistrement supprimé RECORD=$(echo "$line" | sed 's/^+//' | sed "s/^\([^ ]\+\)\(\s\+\)\(IN\s\+\)\([^ ]\+\)\(\s\+\)/\1.${CURRENT_ZONE}.\2\3\4\5/" | sed 's/@.//') echo "update delete $RECORD" - echo -e "server ${{vars.DNS_SERVER}}\nttl 3600\nupdate add $RECORD\nsend" > temp_delete + echo -e "server ${{vars.DNS_SERVER}}\nttl 3600\nupdate delete $RECORD\nsend" > temp_delete nsupdate -k temp_keyfile temp_delete rm temp_delete fi