lib/capistrano/tasks/plugins_composer_install.rake in wp-capistrano3-0.0.29 vs lib/capistrano/tasks/plugins_composer_install.rake in wp-capistrano3-0.0.30
- old
+ new
@@ -1,9 +1,9 @@
namespace "wp-capistrano" do
desc 'Install plugins dependencies using composer'
task :plugins_composer_install do
on roles(:app) do
- pluginDirectory = "#{release_path}/wp-content/plugins/"
+ pluginDirectory = "../app/web/wp-content/plugins/"
Dir.foreach(pluginDirectory) { |directory|
if (directory != "." and directory != "..")
puts "#################################\n# Plugin #{directory}\n#################################"
Dir.chdir(pluginDirectory + directory) do