Run Published Action
Run published Action
Published Actions are available on the StackSpot Platform. You can execute published Actions with or without the information pre-defined in your Account Workspace.
You can run the Action using the Workspace or not, see the examples below:
1. Running an Action without using the Workspace context variables
Follow the pattern <studio-slug>/<action-name>@<action-version>
. It can only be used when there is no active Workspace.
See an example without the Workspace:
stk run action my-studio-name/action-name@1.0.0
It is not mandatory to indicate the Action version here.
2. Execute an Action in the Workspace you used
To execute, the Action must be added to your Workspace. To check if you are in a Workspace, run the command stk use workspace
.
You can use the context variables once an Action has been added to the Workspace.
The version of the Action (@stack-version
) can only be set if there is no active Workspace: <studio-slug>/<stack-slug>/<action-name>@<stack-version>
.
If the version is not entered, StackSpot will default to the latest version of the Studio the Action is in.
Example with Active Workspace:
stk run action my-studio-name/my-stack-name/my-action-name
Check if your Group belongs to the Studio where the Action was added. If your Group was deleted from the Studio, you won't be able to perform any actions there.