capistrano-theme-uploader
Capistrano tasks used to deploy theme.
Install
#add this line in your Gemfile
gem 'capistrano-theme-uploader'
#add this line in your Capfile
require 'capistrano/capistrano-theme-uploader'
Then run
bundle install
#or bundle update
set following variables in your deploy.rb These variables will be used to generate wp_config.php at first deployment. And will install an empty wordpress
set :themes_to_deploy, [
'wp-content/themes/my-theme'
]
Workflow
The default capistrano workflow is used with the addition of theses tasks.
after 'deploy:updating', 'wp-capistrano:upload_theme'