Method: Wordmove::Deployer::Base#push_wordpress
- Defined in:
- lib/wordmove/deployer/base.rb
#push_wordpress ⇒ Object
84 85 86 87 88 89 90 91 92 93 |
# File 'lib/wordmove/deployer/base.rb', line 84 def push_wordpress logger.task "Pushing wordpress core" local_path = [:wordpress_path] remote_path = [:wordpress_path] exclude_wp_content = exclude_dir_contents(local_wp_content_dir.relative_path) exclude_paths = paths_to_exclude.push(exclude_wp_content) remote_put_directory(local_path, remote_path, exclude_paths) end |