put configuration into separate file
This commit is contained in:
parent
f1f3d31fbe
commit
b2e95eb294
|
@ -0,0 +1,8 @@
|
|||
remote_protocol='https'
|
||||
remote_domain='remote.cloudwaysapps.com'
|
||||
remote_ssh='user@remote.cloudwaysapps.com'
|
||||
remote_wp_path='/home/remote.cloudwaysapps.com/aabbccddee/public_html'
|
||||
|
||||
local_protocol='http'
|
||||
local_domain='local.local'
|
||||
local_wp_path='/var/www/html/wordpress'
|
|
@ -1,13 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
remote_protocol='https'
|
||||
remote_domain='wordpress-453075-1468300.cloudwaysapps.com'
|
||||
remote_ssh='test123@wordpress-453075-1468300.cloudwaysapps.com'
|
||||
remote_wp_path='/home/453075.cloudwaysapps.com/mhhusspndh/public_html'
|
||||
|
||||
local_protocol='http'
|
||||
local_domain='thecampsitebible.home'
|
||||
local_wp_path='/var/www/html/wordpress'
|
||||
. ./config
|
||||
|
||||
rsync -azP "$local_wp_path/wp-content/" "$remote_ssh:$remote_wp_path/wp-content" --delete-before
|
||||
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
remote_protocol='https'
|
||||
remote_domain='wordpress-453075-1468300.cloudwaysapps.com'
|
||||
remote_ssh='test123@wordpress-453075-1468300.cloudwaysapps.com'
|
||||
remote_wp_path='/home/453075.cloudwaysapps.com/mhhusspndh/public_html'
|
||||
|
||||
local_protocol='http'
|
||||
local_domain='thecampsitebible.home'
|
||||
local_wp_path='/var/www/html/wordpress'
|
||||
. ./config
|
||||
|
||||
rsync -azP "$remote_ssh:$remote_wp_path/wp-content/" "$local_wp_path/wp-content" --delete-before
|
||||
|
||||
|
|
Loading…
Reference in New Issue