benoitchantre / deployer-tasks-wordpress
A collection of Deployer tasks to use with WordPress sites.
1.0.0
2024-01-02 19:43 UTC
Requires
- php: ^7.3|^8.0
- deployer/deployer: ^7.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^1.0.0
- phpcompatibility/php-compatibility: dev-develop@dev
- phpstan/phpstan: ^1.0
- squizlabs/php_codesniffer: ^3.6
Suggests
- wearerequired/wp-cli-clear-opcache: Use WP-CLI to clear the OPcache for a site via HTTP.
- wp-media/wp-rocket-cli: Add a `wp rocket` command to support the WP Rocket plugin
This package is auto-updated.
Last update: 2025-03-03 20:00:09 UTC
README
Deployer Tasks WordPress
A collection of Deployer tasks to use with WordPress sites.
Database tasks
database:backup
: Backup the databasedatabase:cleanup_backup
: Purge old database backupsdatabase:upgrade
: Run the WordPress database update procedure
Requirements for remote host : WP-CLI
OPcache tasks
opcache:clear
: Reset OPcache
Requirements for remote host : WP-CLI, WP-CLI Clear OPcache
WP Rocket tasks
wprocket:config:update-advanced-cache
: Update advanced-cache.php with current pathswprocket:cache:clear
: Clear WP Rocket cache
Requirements for remote host : WP-CLI, WP Rocket CLI
LiteSpeed tasks
litespeed:cache:clear
: Clear LiteSpeed cache
Requirements for remote host : WP-CLI, LiteSpeed Cache