Updated deployhooks (markdown)

b1n23 2024-06-03 16:58:52 +08:00
parent 2deda550cf
commit 247cc6adb5

@ -945,12 +945,16 @@ To get the Site ID, navigate to the SITE where the certificate is to be deployed
export Netlify_ACCESS_TOKEN="Your Netlify Access Token"
export Netlify_SITE_ID="Your Netlify Site ID"
# If have more than one SITE ID
# export Netlify_SITE_ID="SITE_ID_1 SITE_ID_2"
acme.sh --deploy -d example.com --deploy-hook netlify
```
## 31. Deploy your cert to DirectAdmin
You must define the following variables before getting started.
**export DirectAdmin_SCHEME**: Optional, https or http, defaults to https.\
**DirectAdmin_ENDPOINT**: The hostname and port of DirectAdmin Panel.\
**DirectAdmin_USERNAME**: DirectAdmin username\
**DirectAdmin_KEY**: DirectAdmin Login Key or Password\
@ -959,6 +963,7 @@ You must define the following variables before getting started.
You can use the Login Key instead of the password ([Documentation](https://docs.directadmin.com/directadmin/customizing-workflow/api-all-about.html#creating-a-login-key)). Allow `CMD_SSL`, `CMD_API_SSL` command privileges.
```sh
export DirectAdmin_SCHEME="https"
export DirectAdmin_ENDPOINT="example.com:2222"
export DirectAdmin_USERNAME="Your DirectAdmin Username"
export DirectAdmin_KEY="Your DirectAdmin Login Key or Password"
@ -973,13 +978,18 @@ You must define the following variables before getting started.
**DEPLOY_KEYHELP_BASEURL**: The protocol and hostname of KeyHelp Panel, no "/" at the end.\
**DEPLOY_KEYHELP_USERNAME**: Your Username of KeyHelp Panel.\
**DEPLOY_KEYHELP_PASSWORD**: Your Password of KeyHelp Panel .\
**DEPLOY_KEYHELP_DOMAIN_ID**: Open the 'Edit domain' page, and you will see id=xxx at the end of the URL. This is the Domain ID.
**DEPLOY_KEYHELP_DOMAIN_ID**: Open the 'Edit domain' page, and you will see id=xxx at the end of the URL. This is the Domain ID.\
**DEPLOY_KEYHELP_ENFORCE_HTTPS**: Input 0 or 1, input 1 to enable Enforce HTTP to HTTPS redirection.
```sh
export DEPLOY_KEYHELP_BASEURL="https://keyhelp.example.com"
export DEPLOY_KEYHELP_USERNAME="Your KeyHelp Username"
export DEPLOY_KEYHELP_PASSWORD="Your KeyHelp Password"
export DEPLOY_KEYHELP_DOMAIN_ID="Depoly certificate to this Domain ID"
export DEPLOY_KEYHELP_ENFORCE_HTTPS="1"
# If have more than one domain name
# export DEPLOY_KEYHELP_DOMAIN_ID="DOMAIN_ID_1 DOMAIN_ID_2 DOMAIN_ID_3"
acme.sh --deploy -d example.com --deploy-hook keyhelp
```