mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
Fix Syntax
This commit is contained in:
parent
f1b0dd7836
commit
5a326b82bd
@ -56,8 +56,8 @@ gitlab_deploy() {
|
|||||||
|
|
||||||
#curl -s --fail --request PUT --header "PRIVATE-TOKEN: $Le_Deploy_gitlab_token" --form "certificate=@$_cfullchain" --form "key=@$_ckey" "https://gitlab.com/api/v4/projects/$Le_Deploy_gitlab_project_id/pages/domains/$Le_Deploy_gitlab_domain" >/dev/null && exit 0
|
#curl -s --fail --request PUT --header "PRIVATE-TOKEN: $Le_Deploy_gitlab_token" --form "certificate=@$_cfullchain" --form "key=@$_ckey" "https://gitlab.com/api/v4/projects/$Le_Deploy_gitlab_project_id/pages/domains/$Le_Deploy_gitlab_domain" >/dev/null && exit 0
|
||||||
|
|
||||||
string_fullchain=$(_url_encode < $_cfullchain)
|
string_fullchain=$(_url_encode <$_cfullchain)
|
||||||
string_key=$(_url_encode < $_ckey)
|
string_key=$(_url_encode <$_ckey)
|
||||||
|
|
||||||
body="certificate=$string_fullchain&key=$string_key"
|
body="certificate=$string_fullchain&key=$string_key"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user