Created
December 7, 2008 11:12
-
-
Save ursm/33082 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set :application, 'watch-night' | |
| set :scm, :mercurial | |
| set :repository, "https://bitbucket.org/ursm/#{application}/" | |
| set :deploy_via, :remote_cache | |
| server = 'ursm.jp' | |
| role :app, server | |
| role :web, server | |
| role :db, server, :primary => true | |
| ssh_options[:username] = 'app' | |
| ssh_options[:port] = 2222 | |
| set :use_sudo, false | |
| namespace :deploy do | |
| %w(start stop restart finalize_update).each do |t| | |
| task t do end | |
| end | |
| task :after_symlink do | |
| run "cd #{current_path} && sc-build" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment