.forgejo/workflows/ci.yaml: fix syntax error (2)
DNS automated deployment / deploy (push) Failing after 1s
Details
DNS automated deployment / deploy (push) Failing after 1s
Details
This commit is contained in:
parent
4fd7a57803
commit
769a97b38e
|
@ -40,7 +40,7 @@ jobs:
|
|||
nsupdate -k temp_keyfile temp_delete
|
||||
rm temp_delete
|
||||
elif [[ $line == +* ]]; then # Enregistrement ajouté
|
||||
RECORD=$(echo "$line" | sed 's/^+//' | sed 's/^\([^ ]\+\)\(\s\+\)\(IN\s\+\)\([^ ]\+\)\(\s\+\)/\1.${CURRENT_ZONE}.\2\3\4\5/')
|
||||
RECORD=$(echo "$line" | sed 's/^+//' | sed "s/^\([^ ]\+\)\(\s\+\)\(IN\s\+\)\([^ ]\+\)\(\s\+\)/\1.${CURRENT_ZONE}.\2\3\4\5/")
|
||||
echo "update add $RECORD"
|
||||
echo -e "server ${{vars.DNS_SERVER}}\nttl 3600\nupdate add $RECORD\nsend" > temp_add
|
||||
nsupdate -k temp_keyfile temp_add
|
||||
|
|
Loading…
Reference in New Issue