I have setup Bitbucket & Capistrano and are testing deploying to remote servers but I am unable to deploy to a root directory, I've looked around but can't seem to find a way to change it.
e.g. /var/www/html/web_app/
but i get this
e.g. /var/www/html/releases/20161028093829
Any ideas. Thanks in advance.
version "3.6.1"
deploy.rb
set :application, "hunter"
set :repo_url, "git@bitbucket.org:*****.git"
# Default value for keep_releases is 5
set :keep_releases, 2
CAPFILE
require "capistrano/setup"
require "capistrano/rsync"
require "capistrano/deploy"
require "capistrano/scm/git" install_plugin Capistrano::SCM::Git
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
Rake::Task[:production].invoke
Can anyone help me with this?
thanks