Reference
apex reproduce
Print the apex run invocation that reproduces a past run locally (secrets by name only)
apex reproduce [options] [run]With an API token, needs the permission actions:read.
| Argument | Description |
|---|---|
[run] | run id, #number, or "latest" |
| Option | Description |
|---|---|
--repo <owner/repo> | limit the run search to one repository |
--job <key> | reproduce one matrix leg by its key, rather than the whole workflow |
--no-write | print the command without writing the event payload file it refers to |
--json | print the recipe as JSON |
Example
Print the apex run command that replays a past run on this machine; secrets are named, never copied.
apex reproduce 4812