Overview
Buddy.works is a comprehensive Continuous Integration / Continuous Deployment (CI/CD) platform which allows you to automate workflows to get your code into production sooner and in a more reliable fashion.
While Plesk has basic Git integration, Buddy.works allows for a number of intermediate steps (such as image compression and minification) to be actioned at the same time. This guide will show you how to configure a pipeline which is compatible with Plesk.
Instructions
- Within Buddy.works, select your existing project or create a new one.
- Add a new Pipeline:
- Give your new pipeline a name and select “On push” if you want automated deployments:
- Search for “FTP” within the actions and select FTPS (not SFTP):
- Add in your FTP details for your existing Plesk subscription, then click Browse:
- Select the path of where you wish the files to be deployed to. For example, for a WordPress theme you’ll want to select httpdocs/wp-content/themes/<theme-name>:
- Save the configuration. You can now test with a manual run:
Once completed, this should provide a confirmation that the pipeline completed without error: - To ensure the pipeline is automatically deployed, select Webhook URL from the right hand side:
- Copy the webhook URL into your chosen Git repository as a hook:
- Integration between Buddy.works and Plesk has now been configured.