Add sync_from_live_addon
parent
658aefb7b7
commit
0f9dbd70d4
|
@ -0,0 +1,20 @@
|
|||
type: update
|
||||
name: Sync From Live
|
||||
description: Sync from live environment
|
||||
|
||||
targetNodes:
|
||||
nodeGroup: cp
|
||||
|
||||
|
||||
actions:
|
||||
liveSync:
|
||||
- nodeGroup: cp
|
||||
cmd: |-
|
||||
cp -R -u /var/www/webroot/sourcefiles/* /var/www/webroot/ROOT && cd /var/www/webroot/ROOT/ && wp db import /var/www/webroot/sourcefiles/dbexport/dbexport.sql --quiet
|
||||
|
||||
buttons:
|
||||
- caption: Sync From Live
|
||||
action: liveSync
|
||||
loadingText: Syching from live...
|
||||
confirmText: Do you want to initiate sync process?
|
||||
successText: The syching process has been finished successfully.
|
Loading…
Reference in New Issue