Update basic_search_replace.yml
parent
e5214eb762
commit
bc7949558d
|
@ -63,16 +63,14 @@ actions:
|
|||
- if ( ${settings.testMode} == false ):
|
||||
- cmd [cp]: |-
|
||||
cd /var/www/webroot/mightybox-search-replace-db/
|
||||
./basic_search_replace.sh ${settings.termSearch} ${settings.termReplace} >> /var/www/webroot/mightybox-search-replace-db/searchreplace.log
|
||||
./basic_search_replace.sh "${settings.termSearch}" "${settings.termReplace}" >> /var/www/webroot/mightybox-search-replace-db/searchreplace.log
|
||||
wp cache flush --quiet --path=/var/www/webroot/ROOT/
|
||||
rm -rf /var/www/webroot/.cache/vhosts/Jelastic/*
|
||||
tail -8 /var/www/webroot/mightybox-search-replace-db/searchreplace.log | head -7
|
||||
- if ( ${settings.testMode} == true ):
|
||||
- cmd [cp]: |-
|
||||
cd /var/www/webroot/mightybox-search-replace-db/
|
||||
./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/
|
||||
rm -rf /var/www/webroot/.cache/vhosts/Jelastic/*
|
||||
./basic_search_replace-dry-run.sh "${settings.termSearch}" "${settings.termReplace}" >> /var/www/webroot/mightybox-search-replace-db/searchreplace.log
|
||||
tail -8 /var/www/webroot/mightybox-search-replace-db/searchreplace.log | head -7
|
||||
- return:
|
||||
type: success
|
||||
|
|
Loading…
Reference in New Issue