mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #1895 from rbq/1893-local_user
Add :local_user setting to config and docs
This commit is contained in:
commit
46534f0b62
2 changed files with 6 additions and 3 deletions
|
@ -42,9 +42,9 @@ repository the content will be a raw git repository (e.g. objects, refs,
|
|||
etc.).
|
||||
|
||||
* `revisions.log` is used to log every deploy or rollback. Each entry is
|
||||
timestamped and the executing user (username from local machine) is listed.
|
||||
Depending on your VCS data like branchnames or revision numbers are listed as
|
||||
well.
|
||||
timestamped and the executing user (`:local_user`, defaulting to the local
|
||||
username) is listed. Depending on your VCS data like branch names or revision
|
||||
numbers are listed as well.
|
||||
|
||||
* `shared` contains the `linked_files` and `linked_dirs` which are symlinked
|
||||
into each release. This data persists across deployments and releases. It
|
||||
|
|
|
@ -29,5 +29,8 @@ set :repo_url, "git@example.com:me/my_repo.git"
|
|||
# Default value for default_env is {}
|
||||
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
||||
|
||||
# Default value for local_user is ENV['USER']
|
||||
# set :local_user, -> { `git config user.name`.chomp }
|
||||
|
||||
# Default value for keep_releases is 5
|
||||
# set :keep_releases, 5
|
||||
|
|
Loading…
Reference in a new issue