Get Git auto-deployment settings
hosting_getGitAutoDeploymentSettingsV1Retrieves a website's Git auto-deployment settings: repository, branch, target directory, and whether pushes trigger deployment. Returns nulls when no configuration exists.
Instructions
Returns the Git auto-deployment settings of the website: which repository and branch deploy
into which directory, and whether pushes trigger a deployment. is_enabled false keeps the
repository link but ignores pushes.
When the website has no auto-deployment configured every field is null. Save settings with
Update Git auto-deployment settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| username | Yes | username parameter |