Authoring
CLI surface:
codebolt action actionblock create \
--name deploy-to-staging \
--path ./.codebolt/action-blocks \
--description "Build, test, and deploy the current branch to staging"
There are no dedicated validate or run subcommands in the CLI files here, so the practical loop is:
- create the block
- define
block.yaml - load it in a local project
- invoke it via
ctx.blocks.run(...) - inspect step outputs and trace
Validate:
- input substitution
when:branches- failure handling
- idempotency for retry-prone steps