Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lock '3.2.1'
- set :application, 'my_app'
- set :repo_url, 'path_to_git_repo.git'
- set :deploy_user, 'root'
- set :deploy_to, '/var/www'
- set :branch, 'master-final_code'
- set :scm, :git
- set :deploy_via, :copy
- set :format, :pretty
- set :stages, ["staging"]
- set :log_level, :debug
- set :pty, true
- set :stage, :staging
- role :app, %w{root@my_ip_add}
- %w{[root]}
- server 'my_ip_add', user: 'root', roles: %w{app}
- set :ssh_options, {
- forward_agent: false,
- auth_methods: %w(password),
- password: 'my_pass',
- user: 'root'
- }
- Permission denied (publickey,keyboard-interactive).
- fatal: Could not read from remote repository.
- Please make sure you have the correct access rights
- and the repository exists.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement