This plugin catch webhooks and call Cloudways API for start a new deployment.
Installation
See documentation tab for setup this properly.
Support
Please use GitHub Issues to report any issues with this plugin.
Reviews should not be used for getting support or reporting bugs, if you need support please use the Plugin support link.
Setup
-
Install this plugin
-
Setup the link between Cloudways and GitHub
- Go to your Cloudways dashboard and generate SSH Keys (Your app > Deployment Via Git > Generate SSH Keys)
- Download the SSH keys
- Go to your GitHub repo settings > Deploy keys and add the keys previously downloaded
- Go to Cloudways (Your app > Deployment Via Git) and set the Git Remote addressa and branch
- Click Start Deployment
-
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 is required in the settings for the plugin)
-
Configure your plugin in the Settings menu.
- You can find your App id in the URL
ex:https://platform.cloudways.com/apps/42/access_detail
means that the app id is42
- Server ID can be found with by the same way
ex:https://platform.cloudways.com/server/15/access_detail
means that the server id is15
- Don't forget to change the GitHub URL to match your repos.
- You can find your App id in the URL
-
Add a Webhook to your Git Repository
- Copy the WebHook URL: displayed on the plugin settings page
- Go to your GitHub repo's Settings > Webhooks section
- Click on Add Webhook
- Paste the WebHook URL provided by the plugin in the Payload URL field and click Add webhook
-
This plugin has not been reviewed yet.
-
1.0.2 |
Renaming token in webhook_token Sep 13, 2017 |
---|---|
1.0.1 |
First version of CloudwaysDeploy Sep 13, 2017 |