From 11cbad2a490ab1bc9673cd44413a063ca6f8e058 Mon Sep 17 00:00:00 2001 From: Matthew Bernhardt Date: Tue, 17 Sep 2024 15:30:37 -0400 Subject: [PATCH] Update composer multidev-search-replace syntax ** Why are these changes being introduced: * The search-replace syntax still uses the pantheonsite.io address for the live tier, not our actual domain ** Relevant ticket(s): n/a ** How does this address that need: * This changes the domain to use our actual libraries.mit.edu name ** Document any side effects to this change: * none --- scripts/composer/class-mitcomposerscripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/composer/class-mitcomposerscripts.php b/scripts/composer/class-mitcomposerscripts.php index 8e71d2b4..f436200f 100644 --- a/scripts/composer/class-mitcomposerscripts.php +++ b/scripts/composer/class-mitcomposerscripts.php @@ -61,7 +61,7 @@ public static function multidev_create_syntax( $event ): void { */ public static function multidev_search_replace_syntax( $event ): void { $multidev = self::multidev_name( $event ); - $terminus_command = "terminus remote:wp mitlib-wp-network.$multidev -- search-replace live-mitlib-wp-network.pantheonsite.io $multidev-mitlib-wp-network.pantheonsite.io --url=live-mitlib-wp-network.pantheonsite.io --network"; + $terminus_command = "terminus remote:wp mitlib-wp-network.$multidev -- search-replace libraries.mit.edu $multidev-mitlib-wp-network.pantheonsite.io --url=libraries.mit.edu --network"; $event->getIO()->write( $terminus_command ); $event->getIO()->write( '-----' ); }