mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 06:31:42 +00:00
trigger a GH actions change
This commit is contained in:
parent
8d3ad3a8c1
commit
b9aa4f4478
@ -80,7 +80,7 @@ _get_root_zone() {
|
|||||||
_debug2 response "$response"
|
_debug2 response "$response"
|
||||||
if _contains "$response" "\"name\":\"$h\"" >/dev/null; then
|
if _contains "$response" "\"name\":\"$h\"" >/dev/null; then
|
||||||
# Response looks like:
|
# Response looks like:
|
||||||
# {"id": "12345","accountId": "1111111","name": "example.com","ttl": 3600,"emailAddress": ...<and so on>
|
# {"id": "12345","accountId": "1111111","name": "example.com","ttl": 3600,"emailAddress": ... <and so on>
|
||||||
_domain_id=$(echo "$response" | sed -n "s/^.*\"id\":\"\([^,]*\)\",\"accountId\":\"[0-9]*\",\"name\":\"$h\",.*/\1/p")
|
_domain_id=$(echo "$response" | sed -n "s/^.*\"id\":\"\([^,]*\)\",\"accountId\":\"[0-9]*\",\"name\":\"$h\",.*/\1/p")
|
||||||
_debug2 domain_id "$_domain_id"
|
_debug2 domain_id "$_domain_id"
|
||||||
if [ -n "$_domain_id" ]; then
|
if [ -n "$_domain_id" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user