Knowledge

Replace

Parameters
Name Description
action Required String The ID of the action.
type Required String The type of the action. Should be set to REPLACE.
local_path Required_ String The path in the repository.
replacements Replacement[] The list of pairs of strings for replacement.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
Example
actions:
  - action: "Replace values"
    type: "REPLACE"
    local_path: "/"
    replacements:
    - replace_from: "[ENV]"
      replace_to: "stage"
    - replace_from: "multiline"
      replace_to: "Replace\nmultiline\nstring"

Get started now

14 days of unlimited trial. No credit card required.