Browse Source

Fix Syntax

master
Yann Bizeul 6 years ago
parent
commit
b401dbbf65
  1. 2
      deploy/gitlab.sh

2
deploy/gitlab.sh

@ -55,7 +55,7 @@ gitlab_deploy() {
fi fi
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
# Exit curl status code if curl didn't work # Exit curl status code if curl didn't work
exit $? exit $?
} }
Loading…
Cancel
Save