task
Runs a registered task against the current release on the selected hosts.
Usage
bash
npx cata task <task-name> [options]Arguments
| Argument | Description |
|---|---|
<task-name> | Name of a registered task |
Options
| Option | Description |
|---|---|
--host <name>, -H <name> | Target a specific host |
-v, -vv, -vvv | Increase verbosity from normal to debug |
--config <path>, -c <path> | Load a specific deploy config file |
Examples
bash
npx cata list:tasks
npx cata task deploy:build
npx cata task deploy:unlock
npx cata task deploy:restart -H production
npx cata task deploy:healthcheck -vvThe command requires an existing current release on each target host.