Description
Add a command to deploy local files to a dotCMS instance via WebDAV.
Source files should support globbing.
Configuration
Adding a new deploy field to the dotcms.config.json file could support for complex requirements.
{
"deploy": [
{ "from": "dist/foo", "to": "/example.com/application/foo" },
{ "from": "dist/bar", "to": "/example.com/application/bar" },
]
}
Usage
dotcms-utils deploy --target=<target> <src> <dest>
dotcms-utils deploy --target=prod dist/**/* /example.com/application/assets
Description
Add a command to deploy local files to a dotCMS instance via WebDAV.
Source files should support globbing.
Configuration
Adding a new
deployfield to the dotcms.config.json file could support for complex requirements.{ "deploy": [ { "from": "dist/foo", "to": "/example.com/application/foo" }, { "from": "dist/bar", "to": "/example.com/application/bar" }, ] }Usage