Setup for WordPress + Plesk + Git + Local Environment

I’ve used git as version control for the whole WP installation and individual themes/plugins. Under normal circumstances, I don’t see the point for the first option, unless you want to keep all the plugins and WP version in sync with the git repo. In that case, you should definitely gitingore the upload folder, otherwise uploading any attachment will cause a mess.

The automate the deploy, you can configure a webhook: https://conetix.com.au/support/automatic-git-deployments-via-gitlab-to-plesk-based-hosting/

Leave a Comment