mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-16 05:02:45 +00:00
Triggering another action pipeline
This commit is contained in:
parent
7a0450a7f4
commit
30d5d1aea9
@ -80,11 +80,7 @@ dns_efficientip_add() {
|
|||||||
export _H3="X-SDS-TS: ${TS}"
|
export _H3="X-SDS-TS: ${TS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${TEST_DNS+1}" ]; then
|
result="$(_post "" "${baseurlnObject}" "" "POST")"
|
||||||
result="$(printf "[{\"ret_oid\": \"%d\"}]" "42")"
|
|
||||||
else
|
|
||||||
result="$(_post "" "${baseurlnObject}" "" "POST")"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then
|
if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then
|
||||||
_info "Record successfully created"
|
_info "Record successfully created"
|
||||||
@ -131,11 +127,7 @@ dns_efficientip_rm() {
|
|||||||
export _H3="X-SDS-TS: $TS"
|
export _H3="X-SDS-TS: $TS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${TEST_DNS+1}" ]; then
|
result="$(_post "" "${baseurlnObject}" "" "DELETE")"
|
||||||
result="$(printf "[{\"ret_oid\": \"%d\"}]" "42")"
|
|
||||||
else
|
|
||||||
result="$(_post "" "${baseurlnObject}" "" "DELETE")"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then
|
if [ "$(echo "${result}" | _egrep_o "ret_oid")" ]; then
|
||||||
_info "Record successfully deleted"
|
_info "Record successfully deleted"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user