.forgejo/workflows/ci.yaml: correcting error with record sending
/ deploy_script (push) Successful in 2s
Details
/ deploy_script (push) Successful in 2s
Details
This commit is contained in:
parent
54807b36a8
commit
2980b3599a
|
@ -39,7 +39,7 @@ jobs:
|
|||
elif [[ $line == +* ]]; then # Enregistrement ajouté
|
||||
RECORD=$(echo "$line" | sed 's/^+//' | sed 's/^\([^ ]\+\)\(\s\+\)\(IN\s\+\)\([^ ]\+\)\(\s\+\)/\1.a-lec.org.\2\3\4\5/')
|
||||
echo "update add $RECORD"
|
||||
echo -e "server ${{vars.DNS_SERVER}}\nupdate add $RECORD\nsend" > temp_add
|
||||
echo -e "server ${{vars.DNS_SERVER}}\nttl 3600\nupdate add $RECORD\nsend" > temp_add
|
||||
nsupdate -k temp_keyfile temp_add
|
||||
rm temp_add
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue