diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index ce838ae..ca1e774 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -33,13 +33,13 @@ jobs: if [[ $line == -* ]]; then # Enregistrement supprimé RECORD=$(echo "$line" | sed 's/^-//') echo "update delete $RECORD" - echo -e "server $DNS_SERVER\nupdate delete $RECORD\nsend" > temp_delete + echo -e "server ${{vars.DNS_SERVER}}\nupdate delete $RECORD\nsend" > temp_delete nsupdate -k temp_keyfile 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 + echo -e "server ${{vars.DNS_SERVER}}\nupdate add $RECORD\nsend" > temp_add nsupdate -k temp_keyfile temp_add rm temp_add fi