Sha256: 5e762a5442c40eb21ad3483f3d30b46c61a9fca436d3eacb1358bb21e2373153
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
namespace "wp-capistrano" do desc 'upload theme compiled files' task :deploy-theme do run_locally do role_properties(:app) do |server| ssh_options = server.ssh_options fetch(:themes_to_deploy).each do |theme| themesParentDir = theme.split("/") themesParentDir.pop() execute "scp -r -P #{server.ssh_options[:port]} #{ENV['SOURCE_PATH']}/#{theme} #{server.user}@#{server.hostname}:#{release_path}/#{themesParentDir.join("/")}" end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wp-capistrano3-0.0.6 | lib/capistrano/tasks/deploy-theme.rake |
wp-capistrano3-0.0.5 | lib/capistrano/tasks/deploy-theme.rake |
wp-capistrano3-0.0.4 | lib/capistrano/tasks/deploy-theme.rake |