Update basic_search_replace.yml
parent
d49e43582f
commit
e103966d61
|
@ -1,6 +1,7 @@
|
|||
type: update
|
||||
name: Search Replace DB
|
||||
description: Search and replace Database
|
||||
description: Databse Search and Replace utility
|
||||
logo: https://d33v4339jhl8k0.cloudfront.net/docs/assets/629d6154f38bfd3f4a4c3046/images/62ce4ffaeabe9a7235b3d220/white-300.png
|
||||
|
||||
targetNodes:
|
||||
nodeGroup: cp
|
||||
|
@ -67,6 +68,10 @@ actions:
|
|||
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.termSearch}' === '${settings.termReplace}' ):
|
||||
- cmd [cp]: |-
|
||||
cd /var/www/webroot/mightybox-search-replace-db/
|
||||
echo "Term to search is the same with term to replace. No action necessary"
|
||||
- if ( ${settings.testMode} == true ):
|
||||
- cmd [cp]: |-
|
||||
cd /var/www/webroot/mightybox-search-replace-db/
|
||||
|
@ -74,6 +79,10 @@ actions:
|
|||
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.termSearch}' === '${settings.termReplace}' ):
|
||||
- cmd [cp]: |-
|
||||
cd /var/www/webroot/mightybox-search-replace-db/
|
||||
echo "Term to search is the same with term to replace. No action necessary"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue