Skip to main content
Version: v4.5.0

stk deploy

caution

This command is deprecated and is no longer available to use.

The stk deploy <environment-name> command executes the commands that perform the Stack deployment in the given environment.

How does it work?

You can execute the command in the Stack folder created (environment or application). It searches among the Plugins applied in the Stack, which command will be executed to run the deploy script for this Stack. These deploy commands are defined in the plugin.yml file in the lifecycle/deploy section.

Parameters

Check the available options in the command:

ParameterDescription
STAGEName of the stage where the deploy commands should be executed. Filling in the STAGE is optional.

Example

See an example below:

  1. Execute the deploy commands defined by Stack for the stage 'prod':
stk deploy prod

Note: The output of the command depends on the deploy Plugin applied. Check out an example:

Was this page helpful?