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
jay 2023-11-05 02:08:31 +00:00
parent 4aded46aca
commit d49e43582f
1 changed files with 1 additions and 1 deletions

View File

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