For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Actions

Actions

Actions define what the deployment will achieve. For example:

  • Executing a script is an action.

  • Storing a file on the agent's filesystem is also an action.

Actions within a package can be ordered, giving you control over the sequence in which they are executed. This enables you to customize the package execution process to suit your specific requirements, ensuring that dependent actions are performed in the correct order.

Adding Actions

1

Access the Actions page.

Click the gear icon in the Actions column of the packages table.

This will take you to a secondary page displaying all existing actions for the selected package.

2

Click the Add action button.

A form will appear for adding a new action.

3

Fill out the form.

  • Name: Provide a name for the action.

  • Action type:

    • Execute a command

    • Execute a file/script

    • Save file/compressed folder

  • Command: Specify the command or file path associated with the action.

Deployment action creation form
Deployment action creation form
4

Click Add.

Edit an Action

1

Access the Actions Page.

Click the gear icon in the Actions column of the Packages table.

This will take you to a secondary page displaying all existing actions for the selected package.

2

Click the pencil icon.

In the Actions column of the Actions table, locate the action you want to edit and click the pencil icon.

A form will appear, displaying the current configuration of the action.

3

Update the Action.

Modify the fields as needed:

  • Name: update the action's name.

  • Action type: adjust the type of action.

  • Command: edit the command or file path associated with the action.

Editing an Action
Editing an Action
4

Click Save.

Reordering Actions

To change the execution order of actions within a package:

1

Access the Actions page.

Click the gear icon in the Actions column of the Packages table.

This will take you to a secondary page displaying all existing actions for the selected package.

2

Locate the handle.

Find the drag-and-drop handle on the left side of the Actions table for each entry.

3

Reposition the Action.

Drag the handle to move the action to your desired position, placing it above or below other actions.

The table will automatically update to reflect the new order.

Remove an Action

To delete an existing action from a package:

1

Access the Actions page.

Click the gear icon in the Actions column of the Packages table.

This will take you to a secondary page displaying all existing actions for the selected package.

2

Locate the Action.

Find the action you want to delete in the Actions table.

3

Delete the Action.

Click the trash icon in the Actions column for the selected action.

Confirm the deletion when prompted.

Last updated