Fix wp cli command
parent
062a27944b
commit
99c42497ca
|
@ -186,9 +186,9 @@ actions:
|
|||
- cmd[cp]:
|
||||
commands:
|
||||
- cd /var/www/webroot/ROOT/
|
||||
- wp search-replace '${settings.old_url}' '${settings.new_url}' --all-tables
|
||||
- wp transient delete --all
|
||||
- wp cache flush
|
||||
- /home/litespeed/bin/wp search-replace '${settings.old_url}' '${settings.new_url}' --all-tables
|
||||
- /home/litespeed/bin/wp transient delete --all
|
||||
- /home/litespeed/bin/wp cache flush
|
||||
- return:
|
||||
type: info
|
||||
message: "Search and Replace completed successfully for '${settings.old_url}' with '${settings.new_url}' in all tables. Deleted Transients and Flushed WP Cache"
|
||||
|
|
Loading…
Reference in New Issue