|
|
@ -36,12 +36,12 @@ qiniu_deploy() {
|
|
|
|
_savedomainconf QINIU_SK "$QINIU_SK"
|
|
|
|
_savedomainconf QINIU_SK "$QINIU_SK"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$QINIU_CDN_DOMAIN" ]; then
|
|
|
|
if [ "$QINIU_CDN_DOMAIN" ]; then
|
|
|
|
QINIU_CDN_DOMAIN="$_cdomain"
|
|
|
|
_savedomainconf QINIU_CDN_DOMAIN "$QINIU_CDN_DOMAIN"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
QINIU_CDN_DOMAIN="$_cdomain"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
_savedomainconf QINIU_CDN_DOMAIN "$QINIU_CDN_DOMAIN"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## upload certificate
|
|
|
|
## upload certificate
|
|
|
|
string_fullchain=$(sed 's/$/\\n/' "$_cfullchain" | tr -d '\n')
|
|
|
|
string_fullchain=$(sed 's/$/\\n/' "$_cfullchain" | tr -d '\n')
|
|
|
|
string_key=$(sed 's/$/\\n/' "$_ckey" | tr -d '\n')
|
|
|
|
string_key=$(sed 's/$/\\n/' "$_ckey" | tr -d '\n')
|
|
|
|