Update basic_search_replace.yml
reverted to using basic_search_replace-dry-run.sh for the dry run operation. Using ./basic_search_replace.sh "${settings.termSearch}" "${settings.termReplace}" -z does not work and the search and replace operation still do the actual changes.main
parent
4aded46aca
commit
d49e43582f
|
@ -70,7 +70,7 @@ actions:
|
||||||
- if ( ${settings.testMode} == true ):
|
- if ( ${settings.testMode} == true ):
|
||||||
- cmd [cp]: |-
|
- cmd [cp]: |-
|
||||||
cd /var/www/webroot/mightybox-search-replace-db/
|
cd /var/www/webroot/mightybox-search-replace-db/
|
||||||
./basic_search_replace.sh "${settings.termSearch}" "${settings.termReplace}" -z >> /var/www/webroot/mightybox-search-replace-db/searchreplace.log
|
./basic_search_replace-dry-run.sh "${settings.termSearch}" "${settings.termReplace}" >> /var/www/webroot/mightybox-search-replace-db/searchreplace.log
|
||||||
wp cache flush --quiet --path=/var/www/webroot/ROOT/
|
wp cache flush --quiet --path=/var/www/webroot/ROOT/
|
||||||
rm -rf /var/www/webroot/.cache/vhosts/Jelastic/*
|
rm -rf /var/www/webroot/.cache/vhosts/Jelastic/*
|
||||||
tail -8 /var/www/webroot/mightybox-search-replace-db/searchreplace.log | head -7
|
tail -8 /var/www/webroot/mightybox-search-replace-db/searchreplace.log | head -7
|
||||||
|
|
Loading…
Reference in New Issue