Sha256: 8a2ea1c3929b6ebe747de4afe477f2c47f03e890daaef7b2c2076e530dfd4b64
Contents?: true
Size: 1010 Bytes
Versions: 30
Compression:
Stored size: 1010 Bytes
Contents
namespace :cul do namespace :wp do namespace :update do desc "Updates WordPress core to the latest version." task :core do on roles(:web) do within fetch(:wp_docroot) do execute :wp, 'core', 'update' end end end desc "Updates non-repo-managed plugins to the latest version." task :plugins do on roles(:web) do within fetch(:wp_docroot) do execute :wp, 'plugin', 'update', '--all' end end end desc "Updates non-repo-managed themes to the latest version." task :themes do on roles(:web) do within fetch(:wp_docroot) do execute :wp, 'theme', 'update', '--all' end end end desc "Updates WordPress core, plugins, and themes (in that order)." task :all do invoke 'cul:wp:update:core' invoke 'cul:wp:update:plugins' invoke 'cul:wp:update:themes' end end end end
Version data entries
30 entries across 30 versions & 1 rubygems