manifest / integrations / steez-cw-api-connector
Steez CW API Connector
A WordPress plugin that connects to the Cloudways API and enables you to reset file permissions (for example).
★ 0stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/steezwebdevelopment/steez-cw-api-connector/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A WordPress plugin that connects to the Cloudways API and enables you to reset file permissions (for example). Via WP CLI. So you don't have to do it via the panel everytime.
Add your credentials in wp-config
define('WP_CLOUDWAYS_EMAIL', 'xxx@xxx.xxx');
define('WP_CLOUDWAYS_API_KEY', 'xxx');
define('WP_CLOUDWAYS_SERVER_ID', 'xxx');
define('WP_CLOUDWAYS_APP_ID', 'xxx');
Use the WP CLI to reset the file permissions
wp steez:reset_file_permissions
Using Deployer.org?
I've added a task to let Deployer reset the file permissions before deploy:writable.
task('cloudways:reset-file-permissions', function () {
run("cd {{release_path}}");
run("/usr/local/bin/wp --path='{{release_path}}' plugin activate steez-cw-api-connector");
run("/usr/local/bin/wp --path='{{release_path}}' steez:reset_file_permissions");
});
What's next?
You could add more Cloudways API functions. Fork it and PR!