.forgejo/workflows/ci.yaml: correcting error with ipv4
/ deploy_script (push) Successful in 1s
Details
/ deploy_script (push) Successful in 1s
Details
This commit is contained in:
parent
1a840cc2db
commit
cec6a98978
|
@ -34,13 +34,13 @@ jobs:
|
|||
RECORD=$(echo "$line" | sed 's/^-//')
|
||||
echo "update delete $RECORD"
|
||||
echo -e "server ${{vars.DNS_SERVER}}\nupdate delete $RECORD\nsend" > temp_delete
|
||||
nsupdate -k temp_keyfile temp_delete
|
||||
nsupdate -6 -k temp_keyfile temp_delete
|
||||
rm temp_delete
|
||||
elif [[ $line == +* ]]; then # Enregistrement ajouté
|
||||
RECORD=$(echo "$line" | sed 's/^+//')
|
||||
echo "+ $RECORD"
|
||||
echo -e "server ${{vars.DNS_SERVER}}\nupdate add $RECORD\nsend" > temp_add
|
||||
nsupdate -k temp_keyfile temp_add
|
||||
nsupdate -6 -k temp_keyfile temp_add
|
||||
rm temp_add
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue