Skip to content

Add deploy command #1

@samuelmaddock

Description

@samuelmaddock

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions