Skip to content

Commit

Permalink
Merge pull request #19 from voceconnect/cap_deploy
Browse files Browse the repository at this point in the history
add Capistrano files
  • Loading branch information
chrisscott committed Jun 27, 2014
2 parents 7ab129c + 9851f08 commit d638e71
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Includes default deployment tasks
require 'capistrano/deploy'

# Voce Platforms specific tasks and support
require 'capistrano/platforms/setup'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
14 changes: 14 additions & 0 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set :application, 'voce-seo'
set :repo_url, "[email protected]:voceconnect/#{fetch(:application)}.git"

set :scm, 'git-to-svn'
set :type, 'plugin'

set :svn_repository, "http://plugins.svn.wordpress.org/multiple-post-thumbnails/"
set :svn_deploy_to, "trunk"

set :build_folders, (
fetch(:build_folders) << %w{
*config
}
).flatten

0 comments on commit d638e71

Please sign in to comment.