Browse Source

refactor(ali): check the result of prepare_ali_credentials

pull/5294/head
PMExtra 1 day ago
parent
commit
2ea37e6a0d
  1. 2
      deploy/ali_cdn.sh
  2. 2
      dnsapi/dns_ali.sh

2
deploy/ali_cdn.sh

@ -39,7 +39,7 @@ ali_cdn_deploy() {
return 1 return 1
fi fi
_prepare_ali_credentials
_prepare_ali_credentials || return 1
_getdeployconf DEPLOY_ALI_CDN_DOMAIN _getdeployconf DEPLOY_ALI_CDN_DOMAIN
if [ "$DEPLOY_ALI_CDN_DOMAIN" ]; then if [ "$DEPLOY_ALI_CDN_DOMAIN" ]; then

2
dnsapi/dns_ali.sh

@ -21,7 +21,7 @@ dns_ali_add() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
_prepare_ali_credentials
_prepare_ali_credentials || return 1
_debug "First detect the root zone" _debug "First detect the root zone"
if ! _get_root "$fulldomain"; then if ! _get_root "$fulldomain"; then

Loading…
Cancel
Save