Shell

flightstack/shell@1.0.0 Step Verified

Run an arbitrary shell script as a pipeline step.

Add it to a pipeline

jobs:
  - id: shell
    uses: flightstack/shell@1.0.0
    inputs:
      script: <string>

Or drag it onto the canvas from the step palette in the visual editor. Pin an exact version for production pipelines.

Inputs

script string required
Shell script body executed with bash -l. Has access to all FS_IN_* and FS_ENV_* variables.
workingDirectory string default .
Project sub-directory to cd into before running the script.

Outputs

stdoutstring
Trimmed final line of stdout, surfaced for downstream steps.