iii

Exec

Execute commands in the shell.

This module is used to execute commands in the shell. Add as many instances of this module as you need to execute commands in the shell.

modules::shell::ExecModule

Sample Configuration

- class: modules::shell::ExecModule
  config:
    exec:
      - bun run --enable-source-maps index-production.js

Configuration

exec
string[]

The commands to execute. It's a pipeline, it will run one after the other in the same folder. The commands are all executed in different processes. Which means you cannot connect commands like

- cd path/to/project
- npm run build

Instead, you need to connect them under the same command line.

- cd path/to/project && npm run build

On this page