-
Install this plugin
-
Setup link between Cloudways and GitHub
- Go to your Cloudways dashboard and generate SSH Keys
(Your app > Deployment Via Git > Generate SSH Keys) - Download ssh keys
- Go to your GitHub repo settings > Deploy keys and add key previously downloaded
- Back to Cloudways (Your app > Deployment Via Git) and set Git Remote address, branch and click Start Deployment
- Go to your Cloudways dashboard and generate SSH Keys
-
Create a Cloudways API key
- Log into the Cloudways Platform
- Generate your API key using this link https://platform.cloudways.com/api
- Copy the Key and Email (it will be required in the settings of the plugin)
-
Configure your plugin in the "Settings area"
- You can find your App id in the URL
ex:https://platform.cloudways.com/apps/42/access_detail
mean app id42
- Server ID can be found with by the same way
ex:https://platform.cloudways.com/server/15/access_detail
mean server id15
- Don't forget to change the GitHub URL for match your repos
- You can find your App id in the URL
-
Add a Webhook in Your Git Repository
- Copy WebHook URL: displayed on plugin settings
- Go to your GitHub repo settings > Webhooks
- Click on Add Webhook
- Paste WebHook URL in Payload URL field and click Add webhook
more informations about setting up Git deployment for Cloudways
https://support.cloudways.com/using-git-for-deployment/
inetis is a webdesign agency in Vufflens-la-Ville, Switzerland. We love coding and creating powerful apps and sites see our website.