Skip to content

Commit 1255105

Browse files
#patch Adding RESPONSYS_EVENT_URL processing to the build script
1 parent 94a78c4 commit 1255105

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ci/build.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,12 @@ function updatePodEnvURL(string $url)
142142
$contents = file_get_contents(PLATFORM_FILE_PATH);
143143
$sarlacc = $url.'/ecom/ams/app/magento/application/request/object/ingest';
144144

145-
$contents = preg_replace("~const SARLACC = '.*'~", "const SARLACC = '{$sarlacc}'",
146-
$contents);
145+
$responsys_event_url = $url. '/ecom/ams/app/magento/application/request/message/ingest';
146+
147+
$contents = preg_replace("~const SARLACC = '.*'~", "const SARLACC = '{$sarlacc}'", $contents);
148+
149+
$contents = preg_replace("~const RESPONSYS_EVENT_URL = '.*'~", "const RESPONSYS_EVENT_URL = '{$responsys_event_url}'", $contents);
150+
147151
file_put_contents(PLATFORM_FILE_PATH, $contents);
148152
}
149153

0 commit comments

Comments
 (0)