Update basic_search_replace.yml
parent
e5214eb762
commit
bc7949558d
|
@ -63,16 +63,14 @@ actions:
|
||||||
- if ( ${settings.testMode} == false ):
|
- if ( ${settings.testMode} == false ):
|
||||||
- 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} >> /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/
|
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
|
||||||
- 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-dry-run.sh ${settings.termSearch} ${settings.termReplace} >> /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/
|
|
||||||
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
|
||||||
- return:
|
- return:
|
||||||
type: success
|
type: success
|
||||||
|
|
Loading…
Reference in New Issue