1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Merge pull request #119 from townsen/set_repo_path

Document :repo_path stage variable
This commit is contained in:
Lee Hambley 2015-02-04 10:01:55 +01:00
commit 5ca1d93820

View file

@ -44,7 +44,7 @@ The following variables are settable:
* `:deploy_to`
* **default:** `-> { "/var/www/#{fetch(:application)}" }`
* The path on the remote server where the application should be deployed.
* If application contains whitespace or such this path might be invalid. See Structure for the exact directorys used.
* If application contains whitespace or such this path might be invalid. See Structure for the exact directories used.
* `:scm`
* **default:** `:git`
@ -55,7 +55,13 @@ The following variables are settable:
* URL to the repository.
* Must be a valid URL for the used SCM.
* `:repo_path`
* **default:** `-> { "#{fetch(:deploy_to)}/repo" }`
* The path on the remote server where the repository should be placed.
* This does not normally need to be set
* `:repo_tree`
* **default:** None. The whole repository is normally deployed.
* The subtree of the repository to deploy.
* Currently only implemented for Git and Hg.