diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 19da345..17f952a 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -32,19 +32,15 @@ jobs: if [[ $line == -* ]]; then # Enregistrement supprimé RECORD=$(echo "$line" | sed 's/^-//') echo "update delete $RECORD" - nsupdate -k $TSIG_KEY < temp_delete + nsupdate -k ${{ secrets.TSIG_KEY }} temp + rm temp elif [[ $line == +* ]]; then # Enregistrement ajouté RECORD=$(echo "$line" | sed 's/^+//') echo "+ $RECORD" - nsupdate -k $TSIG_KEY < temp_add + nsupdate -k ${{ secrets.TSIG_KEY }} temp + rm add fi fi ;;