Replace with YAML

YAML parameters for Replace

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to REPLACE.
replacements
Required
Replacement[]The list of pairs of strings for replacement.
local_pathStringThe path in the filesystem.

YAML example for Replace

actions:
- action: "Replace values"
  type: "REPLACE"
  local_path: "/"
  replacements:
  - replace_from: "[ENV]"
    replace_to: "stage"
  - replace_from: "multiline"
    replace_to: "Replace\nmultiline\nstring"

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.