mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-15 19:01:44 +00:00
Make CI happy
This commit is contained in:
parent
e4e6173eff
commit
39a5688464
@ -52,7 +52,7 @@ cleverreach_deploy() {
|
|||||||
|
|
||||||
_info "Uploading certificate and key to CleverReach"
|
_info "Uploading certificate and key to CleverReach"
|
||||||
|
|
||||||
_certData="{\"cert\":\"$(cat $_cfullchain | _json_encode)\", \"key\":\"$(cat $_ckey | _json_encode)\"}"
|
_certData="{\"cert\":\"$(_json_encode < "$_cfullchain")\", \"key\":\"$(_json_encode < "$_ckey")\"}"
|
||||||
export _H1="Authorization: Bearer ${_access_token}"
|
export _H1="Authorization: Bearer ${_access_token}"
|
||||||
_add_cert_result="$(_post "$_certData" "https://rest.cleverreach.com/v3/ssl/${_cdomain}" "" "POST" "application/json")"
|
_add_cert_result="$(_post "$_certData" "https://rest.cleverreach.com/v3/ssl/${_cdomain}" "" "POST" "application/json")"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user