mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fixed typos in README, password authentication section
This commit is contained in:
parent
61b182b0fe
commit
76c524a913
2 changed files with 3 additions and 2 deletions
|
@ -7,6 +7,7 @@ Reverse Chronological Order:
|
|||
https://github.com/capistrano/capistrano/compare/v3.2.0...HEAD
|
||||
|
||||
* Minor changes:
|
||||
* Fixed typos in the README. (@sponomarev)
|
||||
* Added `keys` method to Configuration to allow introspection of configuration options. (@juanibiapina)
|
||||
|
||||
## `3.2.0`
|
||||
|
|
|
@ -156,10 +156,10 @@ Perfect, who needs telephones.
|
|||
|
||||
## Using password authentication
|
||||
|
||||
Password authentication can be done via `set` and `ask` in your deploy environment file (e.g.: config/environments/production.rb)
|
||||
Password authentication can be done via `set` and `ask` in your deploy environment file (e.g.: config/deploy/production.rb)
|
||||
|
||||
```ruby
|
||||
set :password, ask('Server password:', nil)
|
||||
set :password, ask('Server password', nil)
|
||||
server 'server.domain.com', user: 'ssh_user_name', port: 22, password: fetch(:password), roles: %w{web app db}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue