plutonianbe / deployer-craftcms-db
Deployer recipe for CraftCMS 3 that provides database pull and push functionalities.
1.2.5
2024-06-07 06:47 UTC
Requires
- craftcms/cms: >=3.0 || ^4.0
- deployer/deployer: ^6.8
- deployer/recipes: ^6.2
This package is auto-updated.
Last update: 2024-11-06 18:21:02 UTC
README
Deployer recipe for CraftCMS 3 that provides database pull and push functionalities.
Installation
Use composer to install the package and its recipes:
composer require plutonianbe/deployer-craftcms-db --dev
After the installation include the recipes in your deployment configuration file (deploy.php
):
require __DIR__ . '/vendor/plutonianbe/deployer-craftcms-db/craft-db.php';
Available tasks
db:pull
Pulls the database from the remote host and replaces the local one.
db:push
Pushes the local database to the remote host and replaces it.
License
Licensed under the MIT license.