run

Run a script by name

run <script_name> [extra_args] [options] command: Execute a script defined in the YAML file with various execution options.

# Basic execution
ginx run test

# With extra arguments
ginx run commit "fix: bug in parser"

# With options
ginx run test --dry-run --verbose
ginx run deploy --no-stream

Options:

  • --stream/--no-stream: Stream output in real-time (default: enabled)

  • --dry-run, -n: Show what would be executed without running

  • --verbose, -v: Show verbose output

Examples:

ginx run build
ginx run deploy "staging"
ginx run test --stream --verbose
ginx run setup --dry-run

Short hand way to run ginx scripts:

# omit run
ginx build
ginx deploy "staging"

Last updated