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

Add :local_user setting to docs and generated config

This commit is contained in:
rbq 2017-06-08 19:23:39 +02:00
parent 7ba6e446ff
commit a760b29351
2 changed files with 6 additions and 3 deletions

View file

@ -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

View file

@ -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