Skip to content

Knowledgebase

Deploying a website from Git with Plesk

plesk, development

Plesk Git support can pull a repository into the hosting account and deploy a selected branch to a website directory. Start with manual deployment so the relationship between a repository update and the public release is clear. Git tracks committed files; it is not a backup of live databases or uploaded media.

Check access and requirements

Confirm the Git extension and required permissions are available. Prepare a repository without production secrets, identify its release branch and public directory, and take a recoverable backup. Use a dedicated read-only deploy credential for a private repository where possible.

01 Deploy a website from Git with Plesk

  1. Open the domain Git tool and add the remote repository using its verified URL. Configure the required key or credential without placing secrets in a public repository or support message.
  2. Choose the intended branch and deployment directory. Check that this location will not overwrite another application or expose private project files.
  3. Select manual deployment for the first release. Fetch the repository and inspect the reported commit before publishing it.
  4. Configure only the required deployment actions, such as a tested dependency-install or build command. Treat hooks and package scripts as executable code from a trusted project.
  5. Deploy during a controlled window, then check the application. Enable automatic deployment or a webhook only after the manual process and recovery procedure work reliably.

How do I verify the deployed Git release?

Confirm the expected commit or release is live, assets load and application data remains intact. Check that writable uploads and secrets are stored where future deployments will preserve them. Test any build output rather than assuming the source repository is directly web-ready.

Resolve setup problems

For authentication errors, check repository access and the specific deploy key. For build failure, inspect the command runtime and logs before retrying. Redeploying an older code commit does not reverse a database migration or recover overwritten uploads. Keep a separate application recovery plan for those changes.

Was this answer helpful?

Need a little more help?

Our support team can help you find the next step.

Contact support