From 5afa9c09c118c008ca0f14da94b4d4bb509504eb Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 7 Sep 2023 08:00:22 +0000 Subject: [PATCH] Update create-staging-env-with-addon This works. Next to do is the Staging to Live --- create-staging-env-with-addon | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create-staging-env-with-addon b/create-staging-env-with-addon index 8c055c5..041d92f 100644 --- a/create-staging-env-with-addon +++ b/create-staging-env-with-addon @@ -112,6 +112,8 @@ actions: nodeGroup: cp commandList: - command: |- + cd /var/www/webroot/ROOT/ + wp option get siteurl | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/' > /var/www/webroot/ROOT/stagingdomain wget --directory-prefix=/var/www/webroot/ROOT/ https://deploy-proxy.mightybox.io/kits/Staging_Environment/raw/branch/main/syncfromlivetostaging.sh chmod 701 /var/www/webroot/ROOT/syncfromlivetostaging.sh