appendToEnvFile
appendToEnvFile(
filePath,variables,log?):void
Defined in: packages/simply-cicd-core/src/env.ts:28
Appends key-value pairs to a .env style file. If the file exists and its content doesn’t end with a newline, a leading newline is added before appending. Creates the file if it doesn’t exist.
Parameters
Section titled “Parameters”filePath
Section titled “filePath”string
variables
Section titled “variables”Record<string, string | undefined>
Returns
Section titled “Returns”void