Deployments¶
Auto‑deploy (Git → Plesk)¶
- In Plesk (Dev): Subscriptions → Git → Add Repository
- Choose Remote repository, paste the repo SSH URL
- Select the deployment target folder under
httpdocs(create if needed) - Clone, then open the repo’s settings in Plesk to copy the Webhook URL
SSH key (one‑time)¶
Add the public SSH key to your GitHub user (not the organisation). You only have to do this once; future repos reuse it. The private key stays on the server/plugin.
GitHub webhook¶
Repo → Settings → Webhooks → Add webhook → paste the Plesk Payload URL → “Send me everything”. Secret can be blank.