Sha256: ee5797ea3ad5d030723cb371742a82ae9caef6d3d2b4a7cf4ecf4eafc0cf9140
Contents?: true
Size: 488 Bytes
Versions: 1
Compression:
Stored size: 488 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)}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wp-capistrano3-0.0.18 | lib/capistrano/tasks/download_wordpress.rake |