Bunnyshell offers Continuous Integration functionality by using WebHooks. As such, a deployment is automatically triggered when a git push action is performed. To enable this for a Wordpress application, follow the steps below:
Connect a GitHub, Gitlab, Bitbucket repository from your organization settings (top left, under the Bunnyshell logo) -> Repositories
Create a Wordpress One-Click Application from Bunnyshell
Once finished, go to the application page -> Deployment -> Enable Deployment
Select a Git repository
Add Shared files and folders separated by comma - Shared files are files or directories that are kept between deployments. If your application has static files, this option must be set for the directory containing the data relative to the root of your application like 'wp-content'. You can also use this option for vendor modules.
Select Shared Type -This option specifies how the files are shared between deployments. The option 'Link' implies that your application will contain a symlink that will point to the shared directory whereas the option 'Copy' will always copy the data from the previous release. Use Link if your application does not mind Symbolic Links and use Copy otherwise.
* For PHP applications (including Wordpress) that install dependencies with composer always use 'Copy'.
Select Excluded files separated by comma - Choose not to deploy a file or a folder from your Git repository or archive. Note that you can use wildcards. Standard practice is not to deploy any directory starting with .git*
Click Save Settings
Click Create Deployment Webhook