diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 9d6a71d..ef76f83 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -33,14 +33,14 @@ jobs: RECORD=$(echo "$line" | sed 's/^-//') echo "update delete $RECORD" echo -e "server $DNS_SERVER\nupdate delete $RECORD\nsend" > temp_delete - nsupdate -k "${{ secrets.TSIG_KEY }}" temp - rm temp + nsupdate -k "${{ secrets.TSIG_KEY }}" temp_delete + rm temp_delete elif [[ $line == +* ]]; then # Enregistrement ajouté RECORD=$(echo "$line" | sed 's/^+//') echo "+ $RECORD" echo -e "server $DNS_SERVER\nupdate add $RECORD\nsend" > temp_add - nsupdate -k "${{ secrets.TSIG_KEY }}" temp - rm add + nsupdate -k "${{ secrets.TSIG_KEY }}" temp_add + rm temp_add fi fi ;;