Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
added updated deploy.rb to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Nov 28, 2014
1 parent ac49a10 commit 4dc706c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
.bundle
.DS_Store
config/config.yml
config/deploy.rb
*.json
stuff
19 changes: 19 additions & 0 deletions config/deploy.rb
@@ -0,0 +1,19 @@
require 'bundler/capistrano'

set :application, "rails_bot"
set :repository, "git@github.com:jsuder/rails-retweeter-bot.git"
set :scm, :git
set :keep_releases, 5
set :use_sudo, false
set :deploy_to, "/var/www/rails_bot"
set :deploy_via, :remote_cache

server "matterhorn", :app, :web, :db, :primary => true

after 'deploy:update_code', 'deploy:symlink_config'

namespace :deploy do
task :symlink_config do
run "ln -s #{shared_path}/config/config.yml #{release_path}/config/config.yml"
end
end

0 comments on commit 4dc706c

Please sign in to comment.