Create Env File
flightstack/create-env-file@1.0.0 Step Verified Write a .env file (or any KEY=VALUE file) from a structured entries map.
Add it to a pipeline
jobs:
- id: create-env-file
uses: flightstack/create-env-file@1.0.0
inputs:
entries: <keyValueMap> Or drag it onto the canvas from the step palette in the visual editor. Pin an exact version for production pipelines.
Inputs
-
entrieskeyValueMap required - Map of environment variable name -> value to materialise.
-
outputPathstring default.env - Relative path (from workingDirectory) where the file will be written.
-
workingDirectorystring default. - Project sub-directory inside the repo.
Outputs
envPathartifact- Absolute path to the written env file.