Sha256: 62b5c9a8c29836dc2d5f2ca5e8b67c0ccb2dca7919972fa691014ece3aeae4dc

Contents?: true

Size: 412 Bytes

Versions: 7

Compression:

Stored size: 412 Bytes

Contents

namespace "wp-capistrano" do
  desc 'Download wordpress'
  task :download_wordpress do
    on roles(:app) do
          execute "wget -N http://wordpress.org/latest.tar.gz -P /tmp/"
          execute "tar xzf /tmp/latest.tar.gz -C #{release_path} wordpress --strip-components=1"
          execute "wget -N https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -P /tmp/"
        end
    end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wp-capistrano3-0.0.11 lib/capistrano/tasks/download_wordpress.rake
wp-capistrano3-0.0.10 lib/capistrano/tasks/download_wordpress.rake
wp-capistrano3-0.0.9 lib/capistrano/tasks/download_wordpress.rake
wp-capistrano3-0.0.8 lib/capistrano/tasks/download_wordpress.rake
wp-capistrano3-0.0.7 lib/capistrano/tasks/download_wordpress.rake
wp-capistrano3-0.0.6 lib/capistrano/tasks/download_wordpress.rake
wp-capistrano3-0.0.5 lib/capistrano/tasks/download_wordpress.rake