a-lec.org.zone: testing CI
/ deploy_script (push) Failing after 1s
Details
/ deploy_script (push) Failing after 1s
Details
This commit is contained in:
parent
166e9e34a0
commit
edf69129db
|
@ -32,19 +32,19 @@ jobs:
|
|||
if [[ $line == -* ]]; then # Enregistrement supprimé
|
||||
RECORD=$(echo "$line" | sed 's/^-//')
|
||||
echo "update delete $RECORD"
|
||||
nsupdate -k $TSIG_KEY <<EOF
|
||||
nsupdate -k $TSIG_KEY <<ENDOFFILE
|
||||
server $DNS_SERVER
|
||||
update delete $RECORD
|
||||
send
|
||||
EOF
|
||||
ENDOFFILE
|
||||
elif [[ $line == +* ]]; then # Enregistrement ajouté
|
||||
RECORD=$(echo "$line" | sed 's/^+//')
|
||||
echo "+ $RECORD"
|
||||
nsupdate -k $TSIG_KEY <<EOF
|
||||
nsupdate -k $TSIG_KEY <<ENDOFFILE
|
||||
server $DNS_SERVER
|
||||
update add $RECORD
|
||||
send
|
||||
EOF
|
||||
ENDOFFILE
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue