Update create-staging-env-with-addon

This works. Next to do is the Staging to Live
main
jay 2023-09-07 08:00:22 +00:00
parent 63765be2e7
commit 5afa9c09c1
1 changed files with 2 additions and 0 deletions

View File

@ -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