Skip to content

task

Runs a registered task against the current release on the selected hosts.

Usage

bash
npx cata task <task-name> [options]

Arguments

ArgumentDescription
<task-name>Name of a registered task

Options

OptionDescription
--host <name>, -H <name>Target a specific host
-v, -vv, -vvvIncrease 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 -vv

The command requires an existing current release on each target host.

Output example