1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/documentation/getting-started/configuration/index.markdown
2015-01-18 15:08:07 +00:00

1.9 KiB

title layout
Configuration default

Configuration

The following variables are settable:

Variable Name Description Notes
:repo_url The URL of your scm repository (git, hg, svn) file://, https://, ssh://, or svn+ssh:// are all supported
:repo_tree The subtree of the scm repository to deploy (git, hg) Only implemented for git and hg repos. Extract just this tree
:branch The branch you wish to deploy This only has meaning for git and hg repos, to specify the branch of an svn repo, set :repo_url to the branch location.
:scm The source control system used :git, :hg, :svn are currently supported
:tmp_dir The (optional) temp directory that will be used (default: /tmp) if you have a shared web host, this setting may need to be set (i.e. /home/user/tmp/capistrano).

Support removed for following variables:

Variable Name Description Notes
:copy_exclude The (optional) array of files and/or folders excluded from deploy Replaced by Git's native .gitattributes, see #515 for more info.