Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set :stages, %w(production staging)
- set :default_stage, "staging"
- require 'capistrano/ext/multistage'
- set :application, "captest" # TODO
- set :repository, "git@bitbucket.org:jy312/captest.git" # TODO
- set :scm, :git
- set :use_sudo, false
- ssh_options[:forward_agent] = true
- default_run_options[:pty] = true
- set :deploy_via, :remote_cache
- set :copy_exclude, [".git", ".DS_Store", ".gitignore", ".gitmodules"]
- set :git_enable_submodules, 1
- $ ssh-keygen -f "/home/USERNAME/.ssh/known_hosts" -R 178.X.X.X
- $ ssh user@178.X.X.X
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement