Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deploy command #1

Open
samuelmaddock opened this issue May 28, 2020 · 0 comments
Open

Add deploy command #1

samuelmaddock opened this issue May 28, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@samuelmaddock
Copy link
Contributor

samuelmaddock commented May 28, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant