lib/capistrano/tasks/wp.cap in capistrano-cul-0.0.15 vs lib/capistrano/tasks/wp.cap in capistrano-cul-0.0.16

- old
+ new

@@ -75,19 +75,19 @@ shared_wp_config_file_path = shared_path.join('wp-config.php') shared_robots_txt_file_path = shared_path.join('robots.txt') wp_content_path = fetch(:wp_content_path) - invoke 'deploy' # Deploy before doing setup - # Create nginx logs directory if it doesn't already exist execute :mkdir, '-p', deploy_path.join('logs') # Make full path to wp_docroot directory if not exist execute :mkdir, '-p', fetch(:wp_docroot) # Make full path to wp_content_path if not exist execute :mkdir, '-p', wp_content_path + + invoke 'deploy' # Deploy before doing setup # If wp_docroot/wp-includes does not exist, do wordpress download unless test("[ -d #{File.join(fetch(:wp_docroot), 'wp-includes')} ]") # Download and unpack new WP instance to wp_docroot execute :wp, 'core', ['download', "--version=#{fetch(:wp_version)}", "--path=#{fetch(:wp_docroot)}"]