Sha256: d97c52c00afc6cf632b5224b082201ec593e810f75f5d949a66af32161216a3e
Contents?: true
Size: 500 Bytes
Versions: 2
Compression:
Stored size: 500 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 #{fetch(:tmp_dir)}" 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 #{fetch(:tmp_dir)}" execute "chmod u+x #{fetch(:tmp_dir)}/wp-cli.phar" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wp-capistrano3-0.0.20 | lib/capistrano/tasks/download_wordpress.rake |
wp-capistrano3-0.0.19 | lib/capistrano/tasks/download_wordpress.rake |